<!-- HTML header for doxygen 1.8.10-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>NATS C Client with Streaming support: nats.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;" >
   <div id="projectname">NATS C Client with Streaming support
   &#160;<span id="projectnumber">2.1.0</span>
   </div>
   <div id="projectbrief">The nats.io C Client, Supported by Synadia Communications Inc.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('nats_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">nats.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="nats_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// Copyright 2015-2019 The NATS Authors</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// you may not use this file except in compliance with the License.</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// You may obtain a copy of the License at</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">// distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#ifndef NATS_H_</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#define NATS_H_</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;stdlib.h&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;stdbool.h&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &lt;inttypes.h&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;stdio.h&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="status_8h.html">status.h</a>&quot;</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &quot;version.h&quot;</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#if defined(_WIN32)</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">  #include &lt;winsock2.h&gt;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">  #if defined(nats_EXPORTS)</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">    #define NATS_EXTERN __declspec(dllexport)</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">  #elif defined(nats_IMPORTS)</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">    #define NATS_EXTERN __declspec(dllimport)</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">  #else</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">    #define NATS_EXTERN</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">  #endif</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;  <span class="keyword">typedef</span> SOCKET      <a class="code" href="nats_8h.html#af798865ac824e5959987de0fe8d07383">natsSock</a>;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">   49</a></span>&#160;<span class="preprocessor">  #define NATS_EXTERN</span></div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="nats_8h.html#af798865ac824e5959987de0fe8d07383">   50</a></span>&#160;  <span class="keyword">typedef</span> <span class="keywordtype">int</span>         <a class="code" href="nats_8h.html#af798865ac824e5959987de0fe8d07383">natsSock</a>;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="nats_8h.html#a911c54900b46b968205871cd9f68d36c">   86</a></span>&#160;<span class="preprocessor">#define NATS_DEFAULT_URL &quot;nats://localhost:4222&quot;</span></div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="comment">// Types.</span></div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">  102</a></span>&#160;<span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>__natsConnection     <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a>;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="group__types_group.html#ga57a4b8c7109e2773878655722ce028aa">  109</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>__natsStatistics     <a class="code" href="group__types_group.html#ga57a4b8c7109e2773878655722ce028aa">natsStatistics</a>;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">  115</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>__natsSubscription   <a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a>;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">  122</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>__natsMsg            <a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a>;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">  128</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>__natsOptions        <a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a>;</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="group__types_group.html#ga206c3d4d6f4f6f96fd2cae53a3df31c1">  137</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">char</span>                        <a class="code" href="group__types_group.html#ga206c3d4d6f4f6f96fd2cae53a3df31c1">natsInbox</a>;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="preprocessor">#if defined(NATS_HAS_STREAMING)</span></div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">  144</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>__stanConnection     <a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a>;</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">  150</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>__stanSubscription   <a class="code" href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">stanSubscription</a>;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">  156</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>__stanMsg            <a class="code" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a>;</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">  162</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>__stanConnOptions    <a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a>;</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">  168</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>__stanSubOptions     <a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a>;</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160; <span class="comment">// end of typesGroup</span></div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="comment">// Callbacks.</span></div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;</div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#gad1a5ac566893e13dc8c81ac0e9c87afe">  192</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__callbacks_group.html#gad1a5ac566893e13dc8c81ac0e9c87afe">natsMsgHandler</a>)(</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;        <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, <a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg, <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;</div><div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#gacdef6aff3e47953f19e35857ab8e274c">  208</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__callbacks_group.html#gacdef6aff3e47953f19e35857ab8e274c">natsConnectionHandler</a>)(</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a>  *nc, <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;</div><div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#ga9e511dffa471dfb971b7dd2b12329626">  217</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__callbacks_group.html#ga9e511dffa471dfb971b7dd2b12329626">natsErrHandler</a>)(</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;        <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *subscription, <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> err,</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;        <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;</div><div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#ga245eab0a01a485e40fba267f84ec037f">  234</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> (*<a class="code" href="group__callbacks_group.html#ga245eab0a01a485e40fba267f84ec037f">natsEvLoop_Attach</a>)(</div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;        <span class="keywordtype">void</span>            **userData,</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;        <span class="keywordtype">void</span>            *loop,</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;        <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a>  *nc,</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;        natsSock        socket);</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;</div><div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#gaea4c125ecfb43eaf43da20e8444c2aaa">  249</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> (*<a class="code" href="group__callbacks_group.html#gaea4c125ecfb43eaf43da20e8444c2aaa">natsEvLoop_ReadAddRemove</a>)(</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;        <span class="keywordtype">void</span>            *userData,</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;        <span class="keywordtype">bool</span>            add);</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;</div><div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#ga2bb5dd2d821ca5bbc0488f7e6aceed17">  262</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> (*<a class="code" href="group__callbacks_group.html#ga2bb5dd2d821ca5bbc0488f7e6aceed17">natsEvLoop_WriteAddRemove</a>)(</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;        <span class="keywordtype">void</span>            *userData,</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;        <span class="keywordtype">bool</span>            add);</div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;</div><div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#gab63dee7f7012ba11ae20b76dbc36f2d0">  273</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> (*<a class="code" href="group__callbacks_group.html#gab63dee7f7012ba11ae20b76dbc36f2d0">natsEvLoop_Detach</a>)(</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;        <span class="keywordtype">void</span>            *userData);</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;</div><div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#ga258b30458134be90f17315c037f34b7b">  297</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> (*<a class="code" href="group__callbacks_group.html#ga258b30458134be90f17315c037f34b7b">natsUserJWTHandler</a>)(</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;        <span class="keywordtype">char</span>            **userJWT,</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;        <span class="keywordtype">char</span>            **customErrTxt,</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;        <span class="keywordtype">void</span>            *closure);</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;</div><div class="line"><a name="l00328"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#gab786ffd670c86de0563559351305080b">  328</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> (*<a class="code" href="group__callbacks_group.html#gab786ffd670c86de0563559351305080b">natsSignatureHandler</a>)(</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;        <span class="keywordtype">char</span>            **customErrTxt,</div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>   **signature,</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;        <span class="keywordtype">int</span>             *signatureLength,</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;        <span class="keyword">const</span> <span class="keywordtype">char</span>      *nonce,</div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;        <span class="keywordtype">void</span>            *closure);</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;</div><div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#ga7d93a74068ac6e5f4406d70b7c1f0094">  343</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* (*natsTokenHandler)(<span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;<span class="preprocessor">#if defined(NATS_HAS_STREAMING)</span></div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;</div><div class="line"><a name="l00354"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#gad5d6a685731b3bf635995b7375af4d18">  354</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__callbacks_group.html#gad5d6a685731b3bf635995b7375af4d18">stanPubAckHandler</a>)(<span class="keyword">const</span> <span class="keywordtype">char</span> *guid, <span class="keyword">const</span> <span class="keywordtype">char</span> *error, <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;</div><div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#gaf7456e37fa14f1834d9048d3789e9409">  365</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__callbacks_group.html#gaf7456e37fa14f1834d9048d3789e9409">stanMsgHandler</a>)(</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;        <a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc, <a class="code" href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">stanSubscription</a> *sub, <span class="keyword">const</span> <span class="keywordtype">char</span> *channel, <a class="code" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a> *msg, <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;</div><div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="group__callbacks_group.html#gac34092f6c698374f86ad349302bdd55c">  374</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__callbacks_group.html#gac34092f6c698374f86ad349302bdd55c">stanConnectionLostHandler</a>)(</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;        <a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc, <span class="keyword">const</span> <span class="keywordtype">char</span>* errorTxt, <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160; <span class="comment">// end of callbacksGroup</span></div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;</div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;<span class="comment">// Functions.</span></div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;<span class="comment"></span><a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;<a class="code" href="group__library_group.html#ga4a26d4caecb23348f6eee862c95fee7d">nats_Open</a>(int64_t lockSpinCount);</div><div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;</div><div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;</div><div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keyword">const</span> <span class="keywordtype">char</span>*</div><div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;<a class="code" href="group__library_group.html#gafc09930d38dcf3dcee144e8d3ffc225d">nats_GetVersion</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;</div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> uint32_t</div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;<a class="code" href="group__library_group.html#ga5fbbaa19b0290b654d2669a05bd512e8">nats_GetVersionNumber</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;<span class="preprocessor">#ifdef BUILD_IN_DOXYGEN</span></div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;</div><div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">bool</span> <a class="code" href="group__library_group.html#ga8c2ad4df801bd9d11564587ed3a7081e">nats_CheckCompatibility</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;</div><div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;<span class="preprocessor">#define nats_CheckCompatibility() nats_CheckCompatibilityImpl(NATS_VERSION_REQUIRED_NUMBER, \</span></div><div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;<span class="preprocessor">                                                              NATS_VERSION_NUMBER, \</span></div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;<span class="preprocessor">                                                              NATS_VERSION_STRING)</span></div><div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;</div><div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">bool</span></div><div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;nats_CheckCompatibilityImpl(uint32_t reqVerNumber, uint32_t verNumber, <span class="keyword">const</span> <span class="keywordtype">char</span> *verString);</div><div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;</div><div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;</div><div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> int64_t</div><div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;<a class="code" href="group__library_group.html#gaa3c10ba3ae001595007ad0dc5dccc15e">nats_Now</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;</div><div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> int64_t</div><div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;<a class="code" href="group__library_group.html#gacf5e423920d6a647df3bbf7de39d5223">nats_NowInNanoSeconds</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;</div><div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;<a class="code" href="group__library_group.html#gad5040264cd4b1404956babf3c03a4f09">nats_Sleep</a>(int64_t sleepTime);</div><div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;</div><div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keyword">const</span> <span class="keywordtype">char</span>*</div><div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;<a class="code" href="group__library_group.html#ga2610d5691a89a0f2526989083bee0fd3">nats_GetLastError</a>(<a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> *status);</div><div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;</div><div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;<a class="code" href="group__library_group.html#gaca24172e1b97ca01cee29ca437f5702e">nats_GetLastErrorStack</a>(<span class="keywordtype">char</span> *buffer, <span class="keywordtype">size_t</span> bufLen);</div><div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;</div><div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;<a class="code" href="group__library_group.html#ga5fab3b18c4fe3630254483575f6066f4">nats_PrintLastErrorStack</a>(FILE *file);</div><div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;</div><div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;<a class="code" href="group__library_group.html#gab21e94ce7a7d226611ea2c05914cf19d">nats_SetMessageDeliveryPoolSize</a>(<span class="keywordtype">int</span> max);</div><div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;</div><div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;<a class="code" href="group__library_group.html#gafe171baefa00a85b77205116e9f3e48a">nats_ReleaseThreadMemory</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;</div><div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;<a class="code" href="group__library_group.html#gae75131e0ce4e5b89d0f82ea7892f112e">nats_Close</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;</div><div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;<a class="code" href="group__library_group.html#gaf75bb5b38bf32e6a8f43e54068625903">nats_CloseAndWait</a>(int64_t timeout);</div><div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160; <span class="comment">// end of libraryGroup</span></div><div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;</div><div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keyword">const</span> <span class="keywordtype">char</span>*</div><div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;<a class="code" href="group__status_group.html#ga0f7a5e105311800d957ae7b28d1ab752">natsStatus_GetText</a>(<a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a> s);</div><div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160; <span class="comment">// end of statusGroup</span></div><div class="line"><a name="l00667"></a><span class="lineno">  667</span>&#160;</div><div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;<a class="code" href="group__stats_group.html#gafa923df029168f4991b77ffdd9e24877">natsStatistics_Create</a>(<a class="code" href="group__types_group.html#ga57a4b8c7109e2773878655722ce028aa">natsStatistics</a> **newStats);</div><div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;</div><div class="line"><a name="l00704"></a><span class="lineno">  704</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00705"></a><span class="lineno">  705</span>&#160;<a class="code" href="group__stats_group.html#gabe5eaa39f967f8c95ed881c835545de1">natsStatistics_GetCounts</a>(<a class="code" href="group__types_group.html#ga57a4b8c7109e2773878655722ce028aa">natsStatistics</a> *stats,</div><div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;                         uint64_t *inMsgs, uint64_t *inBytes,</div><div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;                         uint64_t *outMsgs, uint64_t *outBytes,</div><div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;                         uint64_t *reconnects);</div><div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;</div><div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;<a class="code" href="group__stats_group.html#ga26a04e77af8fc160adf7c33088dcf59c">natsStatistics_Destroy</a>(<a class="code" href="group__types_group.html#ga57a4b8c7109e2773878655722ce028aa">natsStatistics</a> *stats);</div><div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160; <span class="comment">// end of statsGroup</span></div><div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160;</div><div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;<a class="code" href="group__opts_group.html#ga61d4a0cf2fbf7d13cc910e5a00c575be">natsOptions_Create</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> **newOpts);</div><div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;</div><div class="line"><a name="l00768"></a><span class="lineno">  768</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;<span class="comment"> * The above is for doxygen. The proper syntax for username/password</span></div><div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;<span class="comment"> * is without the &#39;\&#39; character:</span></div><div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;<span class="comment"> * nats://localhost:4222</span></div><div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;<span class="comment"> * nats://user@localhost:4222</span></div><div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;<span class="comment"> * nats://user:password@localhost:4222</span></div><div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160;<a class="code" href="group__opts_group.html#ga3f7e760214417c7d87541ecb9ab5bea5">natsOptions_SetURL</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *url);</div><div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;</div><div class="line"><a name="l00793"></a><span class="lineno">  793</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00794"></a><span class="lineno">  794</span>&#160;<a class="code" href="group__opts_group.html#gacb7e964ae54b74d972d72e118b7b8bdf">natsOptions_SetServers</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span>** servers, <span class="keywordtype">int</span> serversCount);</div><div class="line"><a name="l00795"></a><span class="lineno">  795</span>&#160;</div><div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00822"></a><span class="lineno">  822</span>&#160;<a class="code" href="group__opts_group.html#ga5b99da7dd74aac3be962f323c3863d9e">natsOptions_SetUserInfo</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *user, <span class="keyword">const</span> <span class="keywordtype">char</span> *password);</div><div class="line"><a name="l00823"></a><span class="lineno">  823</span>&#160;</div><div class="line"><a name="l00848"></a><span class="lineno">  848</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00849"></a><span class="lineno">  849</span>&#160;<a class="code" href="group__opts_group.html#gad58a5b9dabadeebda30e952ff7b39193">natsOptions_SetToken</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *token);</div><div class="line"><a name="l00850"></a><span class="lineno">  850</span>&#160;</div><div class="line"><a name="l00866"></a><span class="lineno">  866</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00867"></a><span class="lineno">  867</span>&#160;<a class="code" href="group__opts_group.html#ga23a3b1f022112e98ddccb18b247b4426">natsOptions_SetTokenHandler</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <a class="code" href="group__callbacks_group.html#ga7d93a74068ac6e5f4406d70b7c1f0094">natsTokenHandler</a> tokenCb,</div><div class="line"><a name="l00868"></a><span class="lineno">  868</span>&#160;                            <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l00869"></a><span class="lineno">  869</span>&#160;</div><div class="line"><a name="l00879"></a><span class="lineno">  879</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00880"></a><span class="lineno">  880</span>&#160;<a class="code" href="group__opts_group.html#gaabf8763b931dcf389c83fd95d760a413">natsOptions_SetNoRandomize</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> noRandomize);</div><div class="line"><a name="l00881"></a><span class="lineno">  881</span>&#160;</div><div class="line"><a name="l00894"></a><span class="lineno">  894</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00895"></a><span class="lineno">  895</span>&#160;<a class="code" href="group__opts_group.html#ga17cd7fe41176cd98aca1184fa9352ad9">natsOptions_SetTimeout</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, int64_t timeout);</div><div class="line"><a name="l00896"></a><span class="lineno">  896</span>&#160;</div><div class="line"><a name="l00904"></a><span class="lineno">  904</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00905"></a><span class="lineno">  905</span>&#160;<a class="code" href="group__opts_group.html#ga1c529d347be0fe2eec17c7f4698e283e">natsOptions_SetName</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div><div class="line"><a name="l00906"></a><span class="lineno">  906</span>&#160;</div><div class="line"><a name="l00916"></a><span class="lineno">  916</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00917"></a><span class="lineno">  917</span>&#160;<a class="code" href="group__opts_group.html#gaa1f09416d443fa7a6af6b695da563eba">natsOptions_SetSecure</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> secure);</div><div class="line"><a name="l00918"></a><span class="lineno">  918</span>&#160;</div><div class="line"><a name="l00932"></a><span class="lineno">  932</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00933"></a><span class="lineno">  933</span>&#160;<a class="code" href="group__opts_group.html#ga2cd6563694a439b3949a31fd81103099">natsOptions_LoadCATrustedCertificates</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *fileName);</div><div class="line"><a name="l00934"></a><span class="lineno">  934</span>&#160;</div><div class="line"><a name="l00960"></a><span class="lineno">  960</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00961"></a><span class="lineno">  961</span>&#160;<a class="code" href="group__opts_group.html#gafb30794fc2ae74b9e0bd8fb609b901c8">natsOptions_SetCATrustedCertificates</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *certificates);</div><div class="line"><a name="l00962"></a><span class="lineno">  962</span>&#160;</div><div class="line"><a name="l00977"></a><span class="lineno">  977</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00978"></a><span class="lineno">  978</span>&#160;<a class="code" href="group__opts_group.html#ga36943e2ba53d05407cdabc4e7e96484b">natsOptions_LoadCertificatesChain</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts,</div><div class="line"><a name="l00979"></a><span class="lineno">  979</span>&#160;                                  <span class="keyword">const</span> <span class="keywordtype">char</span> *certsFileName,</div><div class="line"><a name="l00980"></a><span class="lineno">  980</span>&#160;                                  <span class="keyword">const</span> <span class="keywordtype">char</span> *keyFileName);</div><div class="line"><a name="l00981"></a><span class="lineno">  981</span>&#160;</div><div class="line"><a name="l00993"></a><span class="lineno">  993</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l00994"></a><span class="lineno">  994</span>&#160;<a class="code" href="group__opts_group.html#gae98f0f9034e93941767ab1ae6eec2c0c">natsOptions_SetCertificatesChain</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts,</div><div class="line"><a name="l00995"></a><span class="lineno">  995</span>&#160;                                 <span class="keyword">const</span> <span class="keywordtype">char</span> *cert,</div><div class="line"><a name="l00996"></a><span class="lineno">  996</span>&#160;                                 <span class="keyword">const</span> <span class="keywordtype">char</span> *key);</div><div class="line"><a name="l00997"></a><span class="lineno">  997</span>&#160;</div><div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>&#160;<a class="code" href="group__opts_group.html#ga5698f020e8eb3e7440eb073fe08ef62c">natsOptions_SetCiphers</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *ciphers);</div><div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>&#160;</div><div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>&#160;<a class="code" href="group__opts_group.html#ga0ba43ba9930df385e4781b12be9f2851">natsOptions_SetExpectedHostname</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *hostname);</div><div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>&#160;</div><div class="line"><a name="l01036"></a><span class="lineno"> 1036</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>&#160;<a class="code" href="group__opts_group.html#ga6f804ec44adc299989fe623570679da3">natsOptions_SkipServerVerification</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> skip);</div><div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>&#160;</div><div class="line"><a name="l01049"></a><span class="lineno"> 1049</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>&#160;<a class="code" href="group__opts_group.html#gaa16bfd09ef318af18c27a0e199681b69">natsOptions_SetVerbose</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> verbose);</div><div class="line"><a name="l01051"></a><span class="lineno"> 1051</span>&#160;</div><div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01063"></a><span class="lineno"> 1063</span>&#160;<a class="code" href="group__opts_group.html#ga26f166af20de98bec67bc6cc916f769e">natsOptions_SetPedantic</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> pedantic);</div><div class="line"><a name="l01064"></a><span class="lineno"> 1064</span>&#160;</div><div class="line"><a name="l01074"></a><span class="lineno"> 1074</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01075"></a><span class="lineno"> 1075</span>&#160;<a class="code" href="group__opts_group.html#gae68fb615835364c0809555e8dc93f57e">natsOptions_SetPingInterval</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, int64_t interval);</div><div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>&#160;</div><div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>&#160;<a class="code" href="group__opts_group.html#gaaff89c3f41627f4b2929dbc9b82d265b">natsOptions_SetMaxPingsOut</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">int</span> maxPingsOut);</div><div class="line"><a name="l01090"></a><span class="lineno"> 1090</span>&#160;</div><div class="line"><a name="l01102"></a><span class="lineno"> 1102</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01103"></a><span class="lineno"> 1103</span>&#160;<a class="code" href="group__opts_group.html#ga1a3e3abfd7ddd8aff247df8f332bbda3">natsOptions_SetIOBufSize</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">int</span> ioBufSize);</div><div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>&#160;</div><div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01117"></a><span class="lineno"> 1117</span>&#160;<a class="code" href="group__opts_group.html#ga3d1d3cb2f2a0e23d27dd60e96d1cc91b">natsOptions_SetAllowReconnect</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> allow);</div><div class="line"><a name="l01118"></a><span class="lineno"> 1118</span>&#160;</div><div class="line"><a name="l01126"></a><span class="lineno"> 1126</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>&#160;<a class="code" href="group__opts_group.html#gab54cd2719c0b64eebd6c7b83dd2908a0">natsOptions_SetMaxReconnect</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">int</span> maxReconnect);</div><div class="line"><a name="l01128"></a><span class="lineno"> 1128</span>&#160;</div><div class="line"><a name="l01142"></a><span class="lineno"> 1142</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01143"></a><span class="lineno"> 1143</span>&#160;<a class="code" href="group__opts_group.html#ga2730f4e16e318a2ef8de98dbf6ede807">natsOptions_SetReconnectWait</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, int64_t reconnectWait);</div><div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>&#160;</div><div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>&#160;<a class="code" href="group__opts_group.html#gaa0d4b7ece8477cb9879f0dafff3456a5">natsOptions_SetReconnectBufSize</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">int</span> reconnectBufSize);</div><div class="line"><a name="l01159"></a><span class="lineno"> 1159</span>&#160;</div><div class="line"><a name="l01173"></a><span class="lineno"> 1173</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>&#160;<a class="code" href="group__opts_group.html#ga95510436eee06f9992ded96a44795c40">natsOptions_SetMaxPendingMsgs</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">int</span> maxPending);</div><div class="line"><a name="l01175"></a><span class="lineno"> 1175</span>&#160;</div><div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01191"></a><span class="lineno"> 1191</span>&#160;<a class="code" href="group__opts_group.html#ga127ec7a8196b453947a7fa9a64096cbd">natsOptions_SetErrorHandler</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <a class="code" href="group__callbacks_group.html#ga9e511dffa471dfb971b7dd2b12329626">natsErrHandler</a> errHandler,</div><div class="line"><a name="l01192"></a><span class="lineno"> 1192</span>&#160;                            <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l01193"></a><span class="lineno"> 1193</span>&#160;</div><div class="line"><a name="l01206"></a><span class="lineno"> 1206</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01207"></a><span class="lineno"> 1207</span>&#160;<a class="code" href="group__opts_group.html#ga44410242e73134e5bb51ef27904a9253">natsOptions_SetClosedCB</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <a class="code" href="group__callbacks_group.html#gacdef6aff3e47953f19e35857ab8e274c">natsConnectionHandler</a> closedCb,</div><div class="line"><a name="l01208"></a><span class="lineno"> 1208</span>&#160;                        <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l01209"></a><span class="lineno"> 1209</span>&#160;</div><div class="line"><a name="l01229"></a><span class="lineno"> 1229</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01230"></a><span class="lineno"> 1230</span>&#160;<a class="code" href="group__opts_group.html#gadc8dc0cedd91bda71d544f3dedc4a039">natsOptions_SetDisconnectedCB</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts,</div><div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>&#160;                              <a class="code" href="group__callbacks_group.html#gacdef6aff3e47953f19e35857ab8e274c">natsConnectionHandler</a> disconnectedCb,</div><div class="line"><a name="l01232"></a><span class="lineno"> 1232</span>&#160;                              <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>&#160;</div><div class="line"><a name="l01249"></a><span class="lineno"> 1249</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01250"></a><span class="lineno"> 1250</span>&#160;<a class="code" href="group__opts_group.html#ga26a48c8529fffa5f5d1a61c030979980">natsOptions_SetReconnectedCB</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts,</div><div class="line"><a name="l01251"></a><span class="lineno"> 1251</span>&#160;                             <a class="code" href="group__callbacks_group.html#gacdef6aff3e47953f19e35857ab8e274c">natsConnectionHandler</a> reconnectedCb,</div><div class="line"><a name="l01252"></a><span class="lineno"> 1252</span>&#160;                             <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l01253"></a><span class="lineno"> 1253</span>&#160;</div><div class="line"><a name="l01268"></a><span class="lineno"> 1268</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01269"></a><span class="lineno"> 1269</span>&#160;<a class="code" href="group__opts_group.html#gab5baab507c974402ab0d8c5e8227ee65">natsOptions_SetDiscoveredServersCB</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts,</div><div class="line"><a name="l01270"></a><span class="lineno"> 1270</span>&#160;                                   <a class="code" href="group__callbacks_group.html#gacdef6aff3e47953f19e35857ab8e274c">natsConnectionHandler</a> discoveredServersCb,</div><div class="line"><a name="l01271"></a><span class="lineno"> 1271</span>&#160;                                   <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l01272"></a><span class="lineno"> 1272</span>&#160;</div><div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01291"></a><span class="lineno"> 1291</span>&#160;<a class="code" href="group__opts_group.html#gab09491bad908dedcb323c780280733ff">natsOptions_SetEventLoop</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts,</div><div class="line"><a name="l01292"></a><span class="lineno"> 1292</span>&#160;                         <span class="keywordtype">void</span> *loop,</div><div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>&#160;                         <a class="code" href="group__callbacks_group.html#ga245eab0a01a485e40fba267f84ec037f">natsEvLoop_Attach</a>          attachCb,</div><div class="line"><a name="l01294"></a><span class="lineno"> 1294</span>&#160;                         <a class="code" href="group__callbacks_group.html#gaea4c125ecfb43eaf43da20e8444c2aaa">natsEvLoop_ReadAddRemove</a>   readCb,</div><div class="line"><a name="l01295"></a><span class="lineno"> 1295</span>&#160;                         <a class="code" href="group__callbacks_group.html#ga2bb5dd2d821ca5bbc0488f7e6aceed17">natsEvLoop_WriteAddRemove</a>  writeCb,</div><div class="line"><a name="l01296"></a><span class="lineno"> 1296</span>&#160;                         <a class="code" href="group__callbacks_group.html#gab63dee7f7012ba11ae20b76dbc36f2d0">natsEvLoop_Detach</a>          detachCb);</div><div class="line"><a name="l01297"></a><span class="lineno"> 1297</span>&#160;</div><div class="line"><a name="l01320"></a><span class="lineno"> 1320</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01321"></a><span class="lineno"> 1321</span>&#160;<a class="code" href="group__opts_group.html#gabf060c92648b50c069f0abe7cbb06f1c">natsOptions_UseGlobalMessageDelivery</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> global);</div><div class="line"><a name="l01322"></a><span class="lineno"> 1322</span>&#160;</div><div class="line"><a name="l01345"></a><span class="lineno"> 1345</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01346"></a><span class="lineno"> 1346</span>&#160;<a class="code" href="group__opts_group.html#ga7ca713c7532eff4d41a492e95b8822cf">natsOptions_IPResolutionOrder</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">int</span> order);</div><div class="line"><a name="l01347"></a><span class="lineno"> 1347</span>&#160;</div><div class="line"><a name="l01375"></a><span class="lineno"> 1375</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01376"></a><span class="lineno"> 1376</span>&#160;<a class="code" href="group__opts_group.html#ga8f06568cc3319a5a0eef9f80282034ca">natsOptions_SetSendAsap</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> sendAsap);</div><div class="line"><a name="l01377"></a><span class="lineno"> 1377</span>&#160;</div><div class="line"><a name="l01387"></a><span class="lineno"> 1387</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01388"></a><span class="lineno"> 1388</span>&#160;<a class="code" href="group__opts_group.html#ga70aa85319933d78c0076cc862fa3e5a6">natsOptions_UseOldRequestStyle</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> useOldStyle);</div><div class="line"><a name="l01389"></a><span class="lineno"> 1389</span>&#160;</div><div class="line"><a name="l01408"></a><span class="lineno"> 1408</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01409"></a><span class="lineno"> 1409</span>&#160;<a class="code" href="group__opts_group.html#ga4f694b87039cedaa65cd25656b14d1a3">natsOptions_SetNoEcho</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> noEcho);</div><div class="line"><a name="l01410"></a><span class="lineno"> 1410</span>&#160;</div><div class="line"><a name="l01464"></a><span class="lineno"> 1464</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01465"></a><span class="lineno"> 1465</span>&#160;<a class="code" href="group__opts_group.html#ga20946800d024b7089e73d63454d1c19f">natsOptions_SetRetryOnFailedConnect</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, <span class="keywordtype">bool</span> retry,</div><div class="line"><a name="l01466"></a><span class="lineno"> 1466</span>&#160;        <a class="code" href="group__callbacks_group.html#gacdef6aff3e47953f19e35857ab8e274c">natsConnectionHandler</a> connectedCb, <span class="keywordtype">void</span>* closure);</div><div class="line"><a name="l01467"></a><span class="lineno"> 1467</span>&#160;</div><div class="line"><a name="l01496"></a><span class="lineno"> 1496</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01497"></a><span class="lineno"> 1497</span>&#160;<a class="code" href="group__opts_group.html#ga60117450fc1f7b6f81bab455aeed7515">natsOptions_SetUserCredentialsCallbacks</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts,</div><div class="line"><a name="l01498"></a><span class="lineno"> 1498</span>&#160;                                        <a class="code" href="group__callbacks_group.html#ga258b30458134be90f17315c037f34b7b">natsUserJWTHandler</a>      ujwtCB,</div><div class="line"><a name="l01499"></a><span class="lineno"> 1499</span>&#160;                                        <span class="keywordtype">void</span>                    *ujwtClosure,</div><div class="line"><a name="l01500"></a><span class="lineno"> 1500</span>&#160;                                        <a class="code" href="group__callbacks_group.html#gab786ffd670c86de0563559351305080b">natsSignatureHandler</a>    sigCB,</div><div class="line"><a name="l01501"></a><span class="lineno"> 1501</span>&#160;                                        <span class="keywordtype">void</span>                    *sigClosure);</div><div class="line"><a name="l01502"></a><span class="lineno"> 1502</span>&#160;</div><div class="line"><a name="l01541"></a><span class="lineno"> 1541</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01542"></a><span class="lineno"> 1542</span>&#160;<a class="code" href="group__opts_group.html#ga59b47f7b7a19085cf8eaada9bfe5606e">natsOptions_SetUserCredentialsFromFiles</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts,</div><div class="line"><a name="l01543"></a><span class="lineno"> 1543</span>&#160;                                        <span class="keyword">const</span> <span class="keywordtype">char</span> *userOrChainedFile,</div><div class="line"><a name="l01544"></a><span class="lineno"> 1544</span>&#160;                                        <span class="keyword">const</span> <span class="keywordtype">char</span> *seedFile);</div><div class="line"><a name="l01545"></a><span class="lineno"> 1545</span>&#160;</div><div class="line"><a name="l01569"></a><span class="lineno"> 1569</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01570"></a><span class="lineno"> 1570</span>&#160;<a class="code" href="group__opts_group.html#ga0290eac4665569c850468d9f00e246a0">natsOptions_SetNKey</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a>             *opts,</div><div class="line"><a name="l01571"></a><span class="lineno"> 1571</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">char</span>              *pubKey,</div><div class="line"><a name="l01572"></a><span class="lineno"> 1572</span>&#160;                    <a class="code" href="group__callbacks_group.html#gab786ffd670c86de0563559351305080b">natsSignatureHandler</a>    sigCB,</div><div class="line"><a name="l01573"></a><span class="lineno"> 1573</span>&#160;                    <span class="keywordtype">void</span>                    *sigClosure);</div><div class="line"><a name="l01574"></a><span class="lineno"> 1574</span>&#160;</div><div class="line"><a name="l01588"></a><span class="lineno"> 1588</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01589"></a><span class="lineno"> 1589</span>&#160;<a class="code" href="group__opts_group.html#gaafda5fb8d9ee3a17bd475ceaecfac218">natsOptions_SetWriteDeadline</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts, int64_t deadline);</div><div class="line"><a name="l01590"></a><span class="lineno"> 1590</span>&#160;</div><div class="line"><a name="l01598"></a><span class="lineno"> 1598</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l01599"></a><span class="lineno"> 1599</span>&#160;<a class="code" href="group__opts_group.html#ga93d8068cd6fff53b7f8e1c403db45eb9">natsOptions_Destroy</a>(<a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *opts);</div><div class="line"><a name="l01600"></a><span class="lineno"> 1600</span>&#160; <span class="comment">// end of optsGroup</span></div><div class="line"><a name="l01602"></a><span class="lineno"> 1602</span>&#160;</div><div class="line"><a name="l01603"></a><span class="lineno"> 1603</span>&#160;<span class="preprocessor">#if defined(NATS_HAS_STREAMING)</span></div><div class="line"><a name="l01604"></a><span class="lineno"> 1604</span>&#160;</div><div class="line"><a name="l01637"></a><span class="lineno"> 1637</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01638"></a><span class="lineno"> 1638</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#gaff52a1ce90253b4bdbb0005fca4f71b6">stanConnOptions_Create</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> **newOpts);</div><div class="line"><a name="l01639"></a><span class="lineno"> 1639</span>&#160;</div><div class="line"><a name="l01661"></a><span class="lineno"> 1661</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01662"></a><span class="lineno"> 1662</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#ga3c6d511fc1e1febcdf5344960de5a0b3">stanConnOptions_SetURL</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *url);</div><div class="line"><a name="l01663"></a><span class="lineno"> 1663</span>&#160;</div><div class="line"><a name="l01680"></a><span class="lineno"> 1680</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01681"></a><span class="lineno"> 1681</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#gae3fc9a4daa7f85367811a313857337b4">stanConnOptions_SetNATSOptions</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *opts, <a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *nOpts);</div><div class="line"><a name="l01682"></a><span class="lineno"> 1682</span>&#160;</div><div class="line"><a name="l01692"></a><span class="lineno"> 1692</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01693"></a><span class="lineno"> 1693</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#ga66c72c482696d9ceca71fced7cbb1264">stanConnOptions_SetConnectionWait</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *opts, int64_t wait);</div><div class="line"><a name="l01694"></a><span class="lineno"> 1694</span>&#160;</div><div class="line"><a name="l01704"></a><span class="lineno"> 1704</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01705"></a><span class="lineno"> 1705</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#ga36f2ee441562dcf619d6e020b823fc96">stanConnOptions_SetPubAckWait</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *opts, int64_t wait);</div><div class="line"><a name="l01706"></a><span class="lineno"> 1706</span>&#160;</div><div class="line"><a name="l01714"></a><span class="lineno"> 1714</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01715"></a><span class="lineno"> 1715</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#ga07105d1d00878bba19f47243b2c88402">stanConnOptions_SetDiscoveryPrefix</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *prefix);</div><div class="line"><a name="l01716"></a><span class="lineno"> 1716</span>&#160;</div><div class="line"><a name="l01717"></a><span class="lineno"> 1717</span>&#160;</div><div class="line"><a name="l01732"></a><span class="lineno"> 1732</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01733"></a><span class="lineno"> 1733</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#ga29eee1be7eff749aeac3bab60d1b0405">stanConnOptions_SetMaxPubAcksInflight</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *opts, <span class="keywordtype">int</span> maxPubAcksInflight, <span class="keywordtype">float</span> percentage);</div><div class="line"><a name="l01734"></a><span class="lineno"> 1734</span>&#160;</div><div class="line"><a name="l01750"></a><span class="lineno"> 1750</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01751"></a><span class="lineno"> 1751</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#gad835223f08fbeae2a3c7a34d3fa1550b">stanConnOptions_SetPings</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *opts, <span class="keywordtype">int</span> interval, <span class="keywordtype">int</span> maxOut);</div><div class="line"><a name="l01752"></a><span class="lineno"> 1752</span>&#160;</div><div class="line"><a name="l01763"></a><span class="lineno"> 1763</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01764"></a><span class="lineno"> 1764</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#ga19ba15c8001aa835b261eea3a309e6d3">stanConnOptions_SetConnectionLostHandler</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *opts, <a class="code" href="group__callbacks_group.html#gac34092f6c698374f86ad349302bdd55c">stanConnectionLostHandler</a> handler, <span class="keywordtype">void</span> *closure);</div><div class="line"><a name="l01765"></a><span class="lineno"> 1765</span>&#160;</div><div class="line"><a name="l01773"></a><span class="lineno"> 1773</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l01774"></a><span class="lineno"> 1774</span>&#160;<a class="code" href="group__stan_conn_opts_group.html#ga83fd0a29b136cbfb643be642eb2fa726">stanConnOptions_Destroy</a>(<a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *opts);</div><div class="line"><a name="l01775"></a><span class="lineno"> 1775</span>&#160; <span class="comment">// end of stanConnOptsGroup</span></div><div class="line"><a name="l01777"></a><span class="lineno"> 1777</span>&#160;</div><div class="line"><a name="l01808"></a><span class="lineno"> 1808</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01809"></a><span class="lineno"> 1809</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#gad87a2cef4f4ddf64696f9864773c37cf">stanSubOptions_Create</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> **newOpts);</div><div class="line"><a name="l01810"></a><span class="lineno"> 1810</span>&#160;</div><div class="line"><a name="l01829"></a><span class="lineno"> 1829</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01830"></a><span class="lineno"> 1830</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#gaa018bceba99ef3726157e87c6918ab14">stanSubOptions_SetDurableName</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts, <span class="keyword">const</span> <span class="keywordtype">char</span> *durableName);</div><div class="line"><a name="l01831"></a><span class="lineno"> 1831</span>&#160;</div><div class="line"><a name="l01845"></a><span class="lineno"> 1845</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01846"></a><span class="lineno"> 1846</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#gafbb4e6c74978c4e8f30f016c20cc2bdf">stanSubOptions_SetAckWait</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts, int64_t wait);</div><div class="line"><a name="l01847"></a><span class="lineno"> 1847</span>&#160;</div><div class="line"><a name="l01859"></a><span class="lineno"> 1859</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01860"></a><span class="lineno"> 1860</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#ga35efbdea888e00440c500845064931c0">stanSubOptions_SetMaxInflight</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts, <span class="keywordtype">int</span> maxInflight);</div><div class="line"><a name="l01861"></a><span class="lineno"> 1861</span>&#160;</div><div class="line"><a name="l01877"></a><span class="lineno"> 1877</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01878"></a><span class="lineno"> 1878</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#ga6cb7f6e1ac697d16959f9042eeb84dc1">stanSubOptions_StartAtSequence</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts, uint64_t seq);</div><div class="line"><a name="l01879"></a><span class="lineno"> 1879</span>&#160;</div><div class="line"><a name="l01894"></a><span class="lineno"> 1894</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01895"></a><span class="lineno"> 1895</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#gaafd7a553486eea3c9d309da0744a3608">stanSubOptions_StartAtTime</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts, int64_t time);</div><div class="line"><a name="l01896"></a><span class="lineno"> 1896</span>&#160;</div><div class="line"><a name="l01908"></a><span class="lineno"> 1908</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01909"></a><span class="lineno"> 1909</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#ga27d9175901997b8468997019746599b5">stanSubOptions_StartAtTimeDelta</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts, int64_t delta);</div><div class="line"><a name="l01910"></a><span class="lineno"> 1910</span>&#160;</div><div class="line"><a name="l01919"></a><span class="lineno"> 1919</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01920"></a><span class="lineno"> 1920</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#ga856a74e31f3307faf988747c1f88717c">stanSubOptions_StartWithLastReceived</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts);</div><div class="line"><a name="l01921"></a><span class="lineno"> 1921</span>&#160;</div><div class="line"><a name="l01929"></a><span class="lineno"> 1929</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01930"></a><span class="lineno"> 1930</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#gab09b81358e93199a4631eb06f1ec179f">stanSubOptions_DeliverAllAvailable</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts);</div><div class="line"><a name="l01931"></a><span class="lineno"> 1931</span>&#160;</div><div class="line"><a name="l01946"></a><span class="lineno"> 1946</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01947"></a><span class="lineno"> 1947</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#ga6f49ae2629e49d2bfa35990cf030bf83">stanSubOptions_SetManualAckMode</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts, <span class="keywordtype">bool</span> manual);</div><div class="line"><a name="l01948"></a><span class="lineno"> 1948</span>&#160;</div><div class="line"><a name="l01956"></a><span class="lineno"> 1956</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l01957"></a><span class="lineno"> 1957</span>&#160;<a class="code" href="group__stan_sub_opts_group.html#ga1b56877d0a6729e148c9c288e2b88e3f">stanSubOptions_Destroy</a>(<a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *opts);</div><div class="line"><a name="l01958"></a><span class="lineno"> 1958</span>&#160; <span class="comment">// end of stanSubOptsGroup</span></div><div class="line"><a name="l01960"></a><span class="lineno"> 1960</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l01961"></a><span class="lineno"> 1961</span>&#160;</div><div class="line"><a name="l01981"></a><span class="lineno"> 1981</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l01982"></a><span class="lineno"> 1982</span>&#160;<a class="code" href="group__inbox_group.html#ga3d59c517d5aa0827b22e66a308a8fe6e">natsInbox_Create</a>(<span class="keywordtype">char</span> **newInbox);</div><div class="line"><a name="l01983"></a><span class="lineno"> 1983</span>&#160;</div><div class="line"><a name="l01990"></a><span class="lineno"> 1990</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l01991"></a><span class="lineno"> 1991</span>&#160;<a class="code" href="group__inbox_group.html#gac3db6bd01235144886cb0ee5cf444048">natsInbox_Destroy</a>(<span class="keywordtype">char</span> *inbox);</div><div class="line"><a name="l01992"></a><span class="lineno"> 1992</span>&#160; <span class="comment">// end of inboxGroup</span></div><div class="line"><a name="l01994"></a><span class="lineno"> 1994</span>&#160;</div><div class="line"><a name="l02018"></a><span class="lineno"> 2018</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02019"></a><span class="lineno"> 2019</span>&#160;<a class="code" href="group__msg_group.html#ga098e4fec1c5a71c00a0d092fbd6d1a21">natsMsg_Create</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> **newMsg, <span class="keyword">const</span> <span class="keywordtype">char</span> *subj, <span class="keyword">const</span> <span class="keywordtype">char</span> *reply,</div><div class="line"><a name="l02020"></a><span class="lineno"> 2020</span>&#160;               <span class="keyword">const</span> <span class="keywordtype">char</span> *data, <span class="keywordtype">int</span> dataLen);</div><div class="line"><a name="l02021"></a><span class="lineno"> 2021</span>&#160;</div><div class="line"><a name="l02030"></a><span class="lineno"> 2030</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keyword">const</span> <span class="keywordtype">char</span>*</div><div class="line"><a name="l02031"></a><span class="lineno"> 2031</span>&#160;<a class="code" href="group__msg_group.html#gad4597240ee8061b4dbec88576b5e1bed">natsMsg_GetSubject</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg);</div><div class="line"><a name="l02032"></a><span class="lineno"> 2032</span>&#160;</div><div class="line"><a name="l02042"></a><span class="lineno"> 2042</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keyword">const</span> <span class="keywordtype">char</span>*</div><div class="line"><a name="l02043"></a><span class="lineno"> 2043</span>&#160;<a class="code" href="group__msg_group.html#ga3efb98fd6369d9b674638ea93cccf0ab">natsMsg_GetReply</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg);</div><div class="line"><a name="l02044"></a><span class="lineno"> 2044</span>&#160;</div><div class="line"><a name="l02060"></a><span class="lineno"> 2060</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keyword">const</span> <span class="keywordtype">char</span>*</div><div class="line"><a name="l02061"></a><span class="lineno"> 2061</span>&#160;<a class="code" href="group__msg_group.html#ga6bc3cece03b182d2c94e671fd3444cbd">natsMsg_GetData</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg);</div><div class="line"><a name="l02062"></a><span class="lineno"> 2062</span>&#160;</div><div class="line"><a name="l02069"></a><span class="lineno"> 2069</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">int</span></div><div class="line"><a name="l02070"></a><span class="lineno"> 2070</span>&#160;<a class="code" href="group__msg_group.html#ga3ed150076a029a5b6a38667d2359e57a">natsMsg_GetDataLength</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg);</div><div class="line"><a name="l02071"></a><span class="lineno"> 2071</span>&#160;</div><div class="line"><a name="l02078"></a><span class="lineno"> 2078</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l02079"></a><span class="lineno"> 2079</span>&#160;<a class="code" href="group__msg_group.html#ga9e9590018284939f43f60964283f33ae">natsMsg_Destroy</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg);</div><div class="line"><a name="l02080"></a><span class="lineno"> 2080</span>&#160; <span class="comment">// end of msgGroup</span></div><div class="line"><a name="l02082"></a><span class="lineno"> 2082</span>&#160;</div><div class="line"><a name="l02083"></a><span class="lineno"> 2083</span>&#160;<span class="preprocessor">#if defined(NATS_HAS_STREAMING)</span></div><div class="line"><a name="l02084"></a><span class="lineno"> 2084</span>&#160;</div><div class="line"><a name="l02096"></a><span class="lineno"> 2096</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> uint64_t</div><div class="line"><a name="l02097"></a><span class="lineno"> 2097</span>&#160;<a class="code" href="group__stan_msg_group.html#gac9883bb19b4d260bbc63af671b7a0ec6">stanMsg_GetSequence</a>(<a class="code" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a> *msg);</div><div class="line"><a name="l02098"></a><span class="lineno"> 2098</span>&#160;</div><div class="line"><a name="l02105"></a><span class="lineno"> 2105</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> int64_t</div><div class="line"><a name="l02106"></a><span class="lineno"> 2106</span>&#160;<a class="code" href="group__stan_msg_group.html#ga0a9a64532ee20ed4fcef5ee9bbd6dfb5">stanMsg_GetTimestamp</a>(<a class="code" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a> *msg);</div><div class="line"><a name="l02107"></a><span class="lineno"> 2107</span>&#160;</div><div class="line"><a name="l02116"></a><span class="lineno"> 2116</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">bool</span></div><div class="line"><a name="l02117"></a><span class="lineno"> 2117</span>&#160;<a class="code" href="group__stan_msg_group.html#ga350ce955c7ff80a4ea771eb43fe6acaa">stanMsg_IsRedelivered</a>(<a class="code" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a> *msg);</div><div class="line"><a name="l02118"></a><span class="lineno"> 2118</span>&#160;</div><div class="line"><a name="l02134"></a><span class="lineno"> 2134</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keyword">const</span> <span class="keywordtype">char</span>*</div><div class="line"><a name="l02135"></a><span class="lineno"> 2135</span>&#160;<a class="code" href="group__stan_msg_group.html#ga2cee54b6bfadf5b82a95caf75bfaf7d8">stanMsg_GetData</a>(<a class="code" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a> *msg);</div><div class="line"><a name="l02136"></a><span class="lineno"> 2136</span>&#160;</div><div class="line"><a name="l02143"></a><span class="lineno"> 2143</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">int</span></div><div class="line"><a name="l02144"></a><span class="lineno"> 2144</span>&#160;<a class="code" href="group__stan_msg_group.html#gad02b6e994991e0c6e15a33df3ec31908">stanMsg_GetDataLength</a>(<a class="code" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a> *msg);</div><div class="line"><a name="l02145"></a><span class="lineno"> 2145</span>&#160;</div><div class="line"><a name="l02152"></a><span class="lineno"> 2152</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l02153"></a><span class="lineno"> 2153</span>&#160;<a class="code" href="group__stan_msg_group.html#gacd0059fb499963f5b2eae18053e5f74f">stanMsg_Destroy</a>(<a class="code" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a> *msg);</div><div class="line"><a name="l02154"></a><span class="lineno"> 2154</span>&#160; <span class="comment">// end of stanMsgGroup</span></div><div class="line"><a name="l02156"></a><span class="lineno"> 2156</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l02157"></a><span class="lineno"> 2157</span>&#160;</div><div class="line"><a name="l02188"></a><span class="lineno"> 2188</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02189"></a><span class="lineno"> 2189</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga740be1ba16a8570eb98ef6755ebf52ce">natsConnection_Connect</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> **nc, <a class="code" href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a> *options);</div><div class="line"><a name="l02190"></a><span class="lineno"> 2190</span>&#160;</div><div class="line"><a name="l02201"></a><span class="lineno"> 2201</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l02202"></a><span class="lineno"> 2202</span>&#160;<a class="code" href="group__conn_mgt_group.html#gaa89c06e30e19ff361125bfc9114d89a8">natsConnection_ProcessReadEvent</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02203"></a><span class="lineno"> 2203</span>&#160;</div><div class="line"><a name="l02214"></a><span class="lineno"> 2214</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l02215"></a><span class="lineno"> 2215</span>&#160;<a class="code" href="group__conn_mgt_group.html#gad81b603b84c0180aefc6d5ebad7f2a47">natsConnection_ProcessWriteEvent</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02216"></a><span class="lineno"> 2216</span>&#160;</div><div class="line"><a name="l02233"></a><span class="lineno"> 2233</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02234"></a><span class="lineno"> 2234</span>&#160;<a class="code" href="group__conn_mgt_group.html#gafb83c8d7970ba68be0e6c40c38cdfde4">natsConnection_ConnectTo</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> **nc, <span class="keyword">const</span> <span class="keywordtype">char</span> *urls);</div><div class="line"><a name="l02235"></a><span class="lineno"> 2235</span>&#160;</div><div class="line"><a name="l02242"></a><span class="lineno"> 2242</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">bool</span></div><div class="line"><a name="l02243"></a><span class="lineno"> 2243</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga530f0f1c75c58a81aae1a59f15b46d9f">natsConnection_IsClosed</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02244"></a><span class="lineno"> 2244</span>&#160;</div><div class="line"><a name="l02251"></a><span class="lineno"> 2251</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">bool</span></div><div class="line"><a name="l02252"></a><span class="lineno"> 2252</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga5aa349fc3895dde772671b324b07a688">natsConnection_IsReconnecting</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02253"></a><span class="lineno"> 2253</span>&#160;</div><div class="line"><a name="l02260"></a><span class="lineno"> 2260</span>&#160;<span class="keywordtype">bool</span></div><div class="line"><a name="l02261"></a><span class="lineno"> 2261</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga15a0f8aa9a6f621535d01593a4c8edd5">natsConnection_IsDraining</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02262"></a><span class="lineno"> 2262</span>&#160;</div><div class="line"><a name="l02271"></a><span class="lineno"> 2271</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a6d667c1f8dd289a7e0f39bf10e800b51">natsConnStatus</a></div><div class="line"><a name="l02272"></a><span class="lineno"> 2272</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga33fa209522e5e0226b5b7c7d720a3b98">natsConnection_Status</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02273"></a><span class="lineno"> 2273</span>&#160;</div><div class="line"><a name="l02285"></a><span class="lineno"> 2285</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">int</span></div><div class="line"><a name="l02286"></a><span class="lineno"> 2286</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga0433159e518540ff874c4026fe9cd0c5">natsConnection_Buffered</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02287"></a><span class="lineno"> 2287</span>&#160;</div><div class="line"><a name="l02303"></a><span class="lineno"> 2303</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02304"></a><span class="lineno"> 2304</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga1c98f8d89bb8e20ea8621e860a90267f">natsConnection_Flush</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02305"></a><span class="lineno"> 2305</span>&#160;</div><div class="line"><a name="l02318"></a><span class="lineno"> 2318</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02319"></a><span class="lineno"> 2319</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga85915ef0c8b87993be1b076099d6a7c1">natsConnection_FlushTimeout</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, int64_t timeout);</div><div class="line"><a name="l02320"></a><span class="lineno"> 2320</span>&#160;</div><div class="line"><a name="l02330"></a><span class="lineno"> 2330</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> int64_t</div><div class="line"><a name="l02331"></a><span class="lineno"> 2331</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga68e7149f7ff1cc4989b3f795fa7e76d9">natsConnection_GetMaxPayload</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02332"></a><span class="lineno"> 2332</span>&#160;</div><div class="line"><a name="l02342"></a><span class="lineno"> 2342</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02343"></a><span class="lineno"> 2343</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga68821a8ae1176096b5afef7fdc7947ec">natsConnection_GetStats</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <a class="code" href="group__types_group.html#ga57a4b8c7109e2773878655722ce028aa">natsStatistics</a> *stats);</div><div class="line"><a name="l02344"></a><span class="lineno"> 2344</span>&#160;</div><div class="line"><a name="l02354"></a><span class="lineno"> 2354</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02355"></a><span class="lineno"> 2355</span>&#160;<a class="code" href="group__conn_mgt_group.html#gaf623280407c43ade02285005f0642e6d">natsConnection_GetConnectedUrl</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keywordtype">char</span> *buffer, <span class="keywordtype">size_t</span> bufferSize);</div><div class="line"><a name="l02356"></a><span class="lineno"> 2356</span>&#160;</div><div class="line"><a name="l02366"></a><span class="lineno"> 2366</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02367"></a><span class="lineno"> 2367</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga48cee9ea1cdc9fc2770de2f9f0fd1ccf">natsConnection_GetConnectedServerId</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keywordtype">char</span> *buffer, <span class="keywordtype">size_t</span> bufferSize);</div><div class="line"><a name="l02368"></a><span class="lineno"> 2368</span>&#160;</div><div class="line"><a name="l02389"></a><span class="lineno"> 2389</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02390"></a><span class="lineno"> 2390</span>&#160;<a class="code" href="group__conn_mgt_group.html#gaf4ee7262e35e44c40ad5dfe9240db76b">natsConnection_GetServers</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keywordtype">char</span> ***servers, <span class="keywordtype">int</span> *count);</div><div class="line"><a name="l02391"></a><span class="lineno"> 2391</span>&#160;</div><div class="line"><a name="l02412"></a><span class="lineno"> 2412</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02413"></a><span class="lineno"> 2413</span>&#160;<a class="code" href="group__conn_mgt_group.html#gad25c77be0873495412c90a73fe450708">natsConnection_GetDiscoveredServers</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keywordtype">char</span> ***servers, <span class="keywordtype">int</span> *count);</div><div class="line"><a name="l02414"></a><span class="lineno"> 2414</span>&#160;</div><div class="line"><a name="l02427"></a><span class="lineno"> 2427</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02428"></a><span class="lineno"> 2428</span>&#160;<a class="code" href="group__conn_mgt_group.html#gab6cfa9cb6857ae10f096a94f5e244e63">natsConnection_GetLastError</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keyword">const</span> <span class="keywordtype">char</span> **lastError);</div><div class="line"><a name="l02429"></a><span class="lineno"> 2429</span>&#160;</div><div class="line"><a name="l02443"></a><span class="lineno"> 2443</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02444"></a><span class="lineno"> 2444</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga747513ba6ab63fdf9a72bfc8025a14ba">natsConnection_GetClientID</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, uint64_t *cid);</div><div class="line"><a name="l02445"></a><span class="lineno"> 2445</span>&#160;</div><div class="line"><a name="l02464"></a><span class="lineno"> 2464</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02465"></a><span class="lineno"> 2465</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga59bdc4ad9fea2053f5d3841f6b83f88b">natsConnection_Drain</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02466"></a><span class="lineno"> 2466</span>&#160;</div><div class="line"><a name="l02484"></a><span class="lineno"> 2484</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02485"></a><span class="lineno"> 2485</span>&#160;<a class="code" href="group__conn_mgt_group.html#gae06fe6f5933f216d6d93645a122a7dd4">natsConnection_DrainTimeout</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, int64_t timeout);</div><div class="line"><a name="l02486"></a><span class="lineno"> 2486</span>&#160;</div><div class="line"><a name="l02499"></a><span class="lineno"> 2499</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02500"></a><span class="lineno"> 2500</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga6960cfdbaac3b8759784f352d4c264f8">natsConnection_Sign</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc,</div><div class="line"><a name="l02501"></a><span class="lineno"> 2501</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *message, <span class="keywordtype">int</span> messageLen,</div><div class="line"><a name="l02502"></a><span class="lineno"> 2502</span>&#160;                    <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> sig[64]);</div><div class="line"><a name="l02503"></a><span class="lineno"> 2503</span>&#160;</div><div class="line"><a name="l02513"></a><span class="lineno"> 2513</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l02514"></a><span class="lineno"> 2514</span>&#160;<a class="code" href="group__conn_mgt_group.html#ga19e204d27a232e2d4334301fc002b2ed">natsConnection_Close</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02515"></a><span class="lineno"> 2515</span>&#160;</div><div class="line"><a name="l02523"></a><span class="lineno"> 2523</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l02524"></a><span class="lineno"> 2524</span>&#160;<a class="code" href="group__conn_mgt_group.html#gafda2f702276fb0ac301efac10df09495">natsConnection_Destroy</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc);</div><div class="line"><a name="l02525"></a><span class="lineno"> 2525</span>&#160; <span class="comment">// end of connMgtGroup</span></div><div class="line"><a name="l02527"></a><span class="lineno"> 2527</span>&#160;</div><div class="line"><a name="l02544"></a><span class="lineno"> 2544</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02545"></a><span class="lineno"> 2545</span>&#160;<a class="code" href="group__conn_pub_group.html#gac0b9f7759ecc39b8d77807b94254f9b4">natsConnection_Publish</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keyword">const</span> <span class="keywordtype">char</span> *subj,</div><div class="line"><a name="l02546"></a><span class="lineno"> 2546</span>&#160;                       <span class="keyword">const</span> <span class="keywordtype">void</span> *data, <span class="keywordtype">int</span> dataLen);</div><div class="line"><a name="l02547"></a><span class="lineno"> 2547</span>&#160;</div><div class="line"><a name="l02562"></a><span class="lineno"> 2562</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02563"></a><span class="lineno"> 2563</span>&#160;<a class="code" href="group__conn_pub_group.html#gad09a717c20de4cf0e2a21dcfd9ce6c64">natsConnection_PublishString</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keyword">const</span> <span class="keywordtype">char</span> *subj,</div><div class="line"><a name="l02564"></a><span class="lineno"> 2564</span>&#160;                             <span class="keyword">const</span> <span class="keywordtype">char</span> *str);</div><div class="line"><a name="l02565"></a><span class="lineno"> 2565</span>&#160;</div><div class="line"><a name="l02576"></a><span class="lineno"> 2576</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02577"></a><span class="lineno"> 2577</span>&#160;<a class="code" href="group__conn_pub_group.html#ga74511acd87385931112c45c48c2a14ba">natsConnection_PublishMsg</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> *msg);</div><div class="line"><a name="l02578"></a><span class="lineno"> 2578</span>&#160;</div><div class="line"><a name="l02591"></a><span class="lineno"> 2591</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02592"></a><span class="lineno"> 2592</span>&#160;<a class="code" href="group__conn_pub_group.html#gaaaa3d75ffec2dcdc6bf905cdb1eee59e">natsConnection_PublishRequest</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keyword">const</span> <span class="keywordtype">char</span> *subj,</div><div class="line"><a name="l02593"></a><span class="lineno"> 2593</span>&#160;                              <span class="keyword">const</span> <span class="keywordtype">char</span> *reply, <span class="keyword">const</span> <span class="keywordtype">void</span> *data, <span class="keywordtype">int</span> dataLen);</div><div class="line"><a name="l02594"></a><span class="lineno"> 2594</span>&#160;</div><div class="line"><a name="l02611"></a><span class="lineno"> 2611</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02612"></a><span class="lineno"> 2612</span>&#160;<a class="code" href="group__conn_pub_group.html#gaafca9a8294e81a5a9979e762931e56c5">natsConnection_PublishRequestString</a>(<a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keyword">const</span> <span class="keywordtype">char</span> *subj,</div><div class="line"><a name="l02613"></a><span class="lineno"> 2613</span>&#160;                                    <span class="keyword">const</span> <span class="keywordtype">char</span> *reply, <span class="keyword">const</span> <span class="keywordtype">char</span> *str);</div><div class="line"><a name="l02614"></a><span class="lineno"> 2614</span>&#160;</div><div class="line"><a name="l02630"></a><span class="lineno"> 2630</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02631"></a><span class="lineno"> 2631</span>&#160;<a class="code" href="group__conn_pub_group.html#gaf4b4a022f9c21fc269b87c000330c5a7">natsConnection_Request</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> **replyMsg, <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc, <span class="keyword">const</span> <span class="keywordtype">char</span> *subj,</div><div class="line"><a name="l02632"></a><span class="lineno"> 2632</span>&#160;                       <span class="keyword">const</span> <span class="keywordtype">void</span> *data, <span class="keywordtype">int</span> dataLen, int64_t timeout);</div><div class="line"><a name="l02633"></a><span class="lineno"> 2633</span>&#160;</div><div class="line"><a name="l02653"></a><span class="lineno"> 2653</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02654"></a><span class="lineno"> 2654</span>&#160;<a class="code" href="group__conn_pub_group.html#ga4bb5105df6a3efd2088e6be0fdf6b31f">natsConnection_RequestString</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> **replyMsg, <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc,</div><div class="line"><a name="l02655"></a><span class="lineno"> 2655</span>&#160;                             <span class="keyword">const</span> <span class="keywordtype">char</span> *subj, <span class="keyword">const</span> <span class="keywordtype">char</span> *str,</div><div class="line"><a name="l02656"></a><span class="lineno"> 2656</span>&#160;                             int64_t timeout);</div><div class="line"><a name="l02657"></a><span class="lineno"> 2657</span>&#160; <span class="comment">// end of connPubGroup</span></div><div class="line"><a name="l02659"></a><span class="lineno"> 2659</span>&#160;</div><div class="line"><a name="l02680"></a><span class="lineno"> 2680</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02681"></a><span class="lineno"> 2681</span>&#160;<a class="code" href="group__conn_sub_group.html#gaefab965b5645798d47f9244f2b3fe3fb">natsConnection_Subscribe</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> **sub, <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc,</div><div class="line"><a name="l02682"></a><span class="lineno"> 2682</span>&#160;                         <span class="keyword">const</span> <span class="keywordtype">char</span> *subject, <a class="code" href="group__callbacks_group.html#gad1a5ac566893e13dc8c81ac0e9c87afe">natsMsgHandler</a> cb,</div><div class="line"><a name="l02683"></a><span class="lineno"> 2683</span>&#160;                         <span class="keywordtype">void</span> *cbClosure);</div><div class="line"><a name="l02684"></a><span class="lineno"> 2684</span>&#160;</div><div class="line"><a name="l02715"></a><span class="lineno"> 2715</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02716"></a><span class="lineno"> 2716</span>&#160;<a class="code" href="group__conn_sub_group.html#gacb2c83b58b7909715424cbc327fdd404">natsConnection_SubscribeTimeout</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> **sub, <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc,</div><div class="line"><a name="l02717"></a><span class="lineno"> 2717</span>&#160;                                <span class="keyword">const</span> <span class="keywordtype">char</span> *subject, int64_t timeout,</div><div class="line"><a name="l02718"></a><span class="lineno"> 2718</span>&#160;                                <a class="code" href="group__callbacks_group.html#gad1a5ac566893e13dc8c81ac0e9c87afe">natsMsgHandler</a> cb, <span class="keywordtype">void</span> *cbClosure);</div><div class="line"><a name="l02719"></a><span class="lineno"> 2719</span>&#160;</div><div class="line"><a name="l02730"></a><span class="lineno"> 2730</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02731"></a><span class="lineno"> 2731</span>&#160;<a class="code" href="group__conn_sub_group.html#ga17574d5165f7e285462e3d3b2709edf4">natsConnection_SubscribeSync</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> **sub, <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc,</div><div class="line"><a name="l02732"></a><span class="lineno"> 2732</span>&#160;                             <span class="keyword">const</span> <span class="keywordtype">char</span> *subject);</div><div class="line"><a name="l02733"></a><span class="lineno"> 2733</span>&#160;</div><div class="line"><a name="l02751"></a><span class="lineno"> 2751</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02752"></a><span class="lineno"> 2752</span>&#160;<a class="code" href="group__conn_sub_group.html#ga3c9fee2775130786ef62f1cbeb191a48">natsConnection_QueueSubscribe</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> **sub, <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc,</div><div class="line"><a name="l02753"></a><span class="lineno"> 2753</span>&#160;                              <span class="keyword">const</span> <span class="keywordtype">char</span> *subject, <span class="keyword">const</span> <span class="keywordtype">char</span> *queueGroup,</div><div class="line"><a name="l02754"></a><span class="lineno"> 2754</span>&#160;                              <a class="code" href="group__callbacks_group.html#gad1a5ac566893e13dc8c81ac0e9c87afe">natsMsgHandler</a> cb, <span class="keywordtype">void</span> *cbClosure);</div><div class="line"><a name="l02755"></a><span class="lineno"> 2755</span>&#160;</div><div class="line"><a name="l02788"></a><span class="lineno"> 2788</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02789"></a><span class="lineno"> 2789</span>&#160;<a class="code" href="group__conn_sub_group.html#ga96fa115fd5b2ef7658884da80714b91c">natsConnection_QueueSubscribeTimeout</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> **sub, <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc,</div><div class="line"><a name="l02790"></a><span class="lineno"> 2790</span>&#160;                   <span class="keyword">const</span> <span class="keywordtype">char</span> *subject, <span class="keyword">const</span> <span class="keywordtype">char</span> *queueGroup,</div><div class="line"><a name="l02791"></a><span class="lineno"> 2791</span>&#160;                   int64_t timeout, <a class="code" href="group__callbacks_group.html#gad1a5ac566893e13dc8c81ac0e9c87afe">natsMsgHandler</a> cb, <span class="keywordtype">void</span> *cbClosure);</div><div class="line"><a name="l02792"></a><span class="lineno"> 2792</span>&#160;</div><div class="line"><a name="l02804"></a><span class="lineno"> 2804</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02805"></a><span class="lineno"> 2805</span>&#160;<a class="code" href="group__conn_sub_group.html#ga68630ea7c4bbdc7f8cd62058b41fb476">natsConnection_QueueSubscribeSync</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> **sub, <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> *nc,</div><div class="line"><a name="l02806"></a><span class="lineno"> 2806</span>&#160;                                  <span class="keyword">const</span> <span class="keywordtype">char</span> *subject, <span class="keyword">const</span> <span class="keywordtype">char</span> *queueGroup);</div><div class="line"><a name="l02807"></a><span class="lineno"> 2807</span>&#160; <span class="comment">// end of connSubGroup</span></div><div class="line"><a name="l02809"></a><span class="lineno"> 2809</span>&#160; <span class="comment">// end of connGroup</span></div><div class="line"><a name="l02811"></a><span class="lineno"> 2811</span>&#160;</div><div class="line"><a name="l02830"></a><span class="lineno"> 2830</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02831"></a><span class="lineno"> 2831</span>&#160;<a class="code" href="group__sub_group.html#ga38f1e41fc7619101fc4aa52014dd5428">natsSubscription_NoDeliveryDelay</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub);</div><div class="line"><a name="l02832"></a><span class="lineno"> 2832</span>&#160;</div><div class="line"><a name="l02848"></a><span class="lineno"> 2848</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02849"></a><span class="lineno"> 2849</span>&#160;<a class="code" href="group__sub_group.html#ga6538a5d78dfb0f16514b94c8e74c11af">natsSubscription_NextMsg</a>(<a class="code" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> **nextMsg, <a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub,</div><div class="line"><a name="l02850"></a><span class="lineno"> 2850</span>&#160;                         int64_t timeout);</div><div class="line"><a name="l02851"></a><span class="lineno"> 2851</span>&#160;</div><div class="line"><a name="l02860"></a><span class="lineno"> 2860</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02861"></a><span class="lineno"> 2861</span>&#160;<a class="code" href="group__sub_group.html#gaee87f8be0e6c2a4693ba2cea070583ba">natsSubscription_Unsubscribe</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub);</div><div class="line"><a name="l02862"></a><span class="lineno"> 2862</span>&#160;</div><div class="line"><a name="l02874"></a><span class="lineno"> 2874</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02875"></a><span class="lineno"> 2875</span>&#160;<a class="code" href="group__sub_group.html#ga09f285de2746a6e27fc66efd60bd3116">natsSubscription_AutoUnsubscribe</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, <span class="keywordtype">int</span> max);</div><div class="line"><a name="l02876"></a><span class="lineno"> 2876</span>&#160;</div><div class="line"><a name="l02886"></a><span class="lineno"> 2886</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02887"></a><span class="lineno"> 2887</span>&#160;<a class="code" href="group__sub_group.html#ga8a37b2d5290da3aecc05483d79e7e254">natsSubscription_QueuedMsgs</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, uint64_t *queuedMsgs);</div><div class="line"><a name="l02888"></a><span class="lineno"> 2888</span>&#160;</div><div class="line"><a name="l02909"></a><span class="lineno"> 2909</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02910"></a><span class="lineno"> 2910</span>&#160;<a class="code" href="group__sub_group.html#ga68a7cea89e75c529a7dd3bb77303dda4">natsSubscription_SetPendingLimits</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, <span class="keywordtype">int</span> msgLimit, <span class="keywordtype">int</span> bytesLimit);</div><div class="line"><a name="l02911"></a><span class="lineno"> 2911</span>&#160;</div><div class="line"><a name="l02931"></a><span class="lineno"> 2931</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02932"></a><span class="lineno"> 2932</span>&#160;<a class="code" href="group__sub_group.html#ga786bb458981274fe717f266bd3b96d96">natsSubscription_GetPendingLimits</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, <span class="keywordtype">int</span> *msgLimit, <span class="keywordtype">int</span> *bytesLimit);</div><div class="line"><a name="l02933"></a><span class="lineno"> 2933</span>&#160;</div><div class="line"><a name="l02948"></a><span class="lineno"> 2948</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02949"></a><span class="lineno"> 2949</span>&#160;<a class="code" href="group__sub_group.html#gaca6262e2ef842caa701a9f233db72707">natsSubscription_GetPending</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, <span class="keywordtype">int</span> *msgs, <span class="keywordtype">int</span> *bytes);</div><div class="line"><a name="l02950"></a><span class="lineno"> 2950</span>&#160;</div><div class="line"><a name="l02959"></a><span class="lineno"> 2959</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02960"></a><span class="lineno"> 2960</span>&#160;<a class="code" href="group__sub_group.html#ga476b7276d0b7f9946834d2bb2423e955">natsSubscription_GetDelivered</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, int64_t *msgs);</div><div class="line"><a name="l02961"></a><span class="lineno"> 2961</span>&#160;</div><div class="line"><a name="l02977"></a><span class="lineno"> 2977</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02978"></a><span class="lineno"> 2978</span>&#160;<a class="code" href="group__sub_group.html#ga24f1636869e26661ce62c9c9f4d80823">natsSubscription_GetDropped</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, int64_t *msgs);</div><div class="line"><a name="l02979"></a><span class="lineno"> 2979</span>&#160;</div><div class="line"><a name="l02992"></a><span class="lineno"> 2992</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l02993"></a><span class="lineno"> 2993</span>&#160;<a class="code" href="group__sub_group.html#ga0abc5d9afbc6b0c9c5adaf533904c968">natsSubscription_GetMaxPending</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, <span class="keywordtype">int</span> *msgs, <span class="keywordtype">int</span> *bytes);</div><div class="line"><a name="l02994"></a><span class="lineno"> 2994</span>&#160;</div><div class="line"><a name="l03001"></a><span class="lineno"> 3001</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03002"></a><span class="lineno"> 3002</span>&#160;<a class="code" href="group__sub_group.html#gafe31911d8372db401d33856465421710">natsSubscription_ClearMaxPending</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub);</div><div class="line"><a name="l03003"></a><span class="lineno"> 3003</span>&#160;</div><div class="line"><a name="l03030"></a><span class="lineno"> 3030</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03031"></a><span class="lineno"> 3031</span>&#160;<a class="code" href="group__sub_group.html#ga12b60cdb3aca7329edebc480ae86bfab">natsSubscription_GetStats</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub,</div><div class="line"><a name="l03032"></a><span class="lineno"> 3032</span>&#160;                          <span class="keywordtype">int</span>     *pendingMsgs,</div><div class="line"><a name="l03033"></a><span class="lineno"> 3033</span>&#160;                          <span class="keywordtype">int</span>     *pendingBytes,</div><div class="line"><a name="l03034"></a><span class="lineno"> 3034</span>&#160;                          <span class="keywordtype">int</span>     *maxPendingMsgs,</div><div class="line"><a name="l03035"></a><span class="lineno"> 3035</span>&#160;                          <span class="keywordtype">int</span>     *maxPendingBytes,</div><div class="line"><a name="l03036"></a><span class="lineno"> 3036</span>&#160;                          int64_t *deliveredMsgs,</div><div class="line"><a name="l03037"></a><span class="lineno"> 3037</span>&#160;                          int64_t *droppedMsgs);</div><div class="line"><a name="l03038"></a><span class="lineno"> 3038</span>&#160;</div><div class="line"><a name="l03047"></a><span class="lineno"> 3047</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">bool</span></div><div class="line"><a name="l03048"></a><span class="lineno"> 3048</span>&#160;<a class="code" href="group__sub_group.html#ga5e6454bbc7a90b9694112d45bd8de903">natsSubscription_IsValid</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub);</div><div class="line"><a name="l03049"></a><span class="lineno"> 3049</span>&#160;</div><div class="line"><a name="l03062"></a><span class="lineno"> 3062</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03063"></a><span class="lineno"> 3063</span>&#160;<a class="code" href="group__sub_group.html#ga26c9736289d326fb7d6df7e2a0df72ab">natsSubscription_Drain</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub);</div><div class="line"><a name="l03064"></a><span class="lineno"> 3064</span>&#160;</div><div class="line"><a name="l03079"></a><span class="lineno"> 3079</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03080"></a><span class="lineno"> 3080</span>&#160;<a class="code" href="group__sub_group.html#ga0408c9b6e4ad4078ac0267656ace222d">natsSubscription_WaitForDrainCompletion</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub, int64_t timeout);</div><div class="line"><a name="l03081"></a><span class="lineno"> 3081</span>&#160;</div><div class="line"><a name="l03089"></a><span class="lineno"> 3089</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l03090"></a><span class="lineno"> 3090</span>&#160;<a class="code" href="group__sub_group.html#ga50a95dd96e9b714201679a015d62832f">natsSubscription_Destroy</a>(<a class="code" href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a> *sub);</div><div class="line"><a name="l03091"></a><span class="lineno"> 3091</span>&#160; <span class="comment">// end of subGroup</span></div><div class="line"><a name="l03093"></a><span class="lineno"> 3093</span>&#160;</div><div class="line"><a name="l03094"></a><span class="lineno"> 3094</span>&#160;<span class="preprocessor">#if defined(NATS_HAS_STREAMING)</span></div><div class="line"><a name="l03095"></a><span class="lineno"> 3095</span>&#160;</div><div class="line"><a name="l03131"></a><span class="lineno"> 3131</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03132"></a><span class="lineno"> 3132</span>&#160;<a class="code" href="group__stan_conn_mgt_group.html#ga35e0e6e5e3b7f3818a3ac3600efb8f8f">stanConnection_Connect</a>(<a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> **sc, <span class="keyword">const</span> <span class="keywordtype">char</span> *clusterID, <span class="keyword">const</span> <span class="keywordtype">char</span> *clientID,</div><div class="line"><a name="l03133"></a><span class="lineno"> 3133</span>&#160;                       <a class="code" href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a> *options);</div><div class="line"><a name="l03134"></a><span class="lineno"> 3134</span>&#160;</div><div class="line"><a name="l03157"></a><span class="lineno"> 3157</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03158"></a><span class="lineno"> 3158</span>&#160;<a class="code" href="group__stan_conn_mgt_group.html#ga166ec494a55c9b1f9ebafd2294e05ff6">stanConnection_GetNATSConnection</a>(<a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc, <a class="code" href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a> **nc);</div><div class="line"><a name="l03159"></a><span class="lineno"> 3159</span>&#160;</div><div class="line"><a name="l03184"></a><span class="lineno"> 3184</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l03185"></a><span class="lineno"> 3185</span>&#160;<a class="code" href="group__stan_conn_mgt_group.html#ga2e56a93825e1214a5ab688860e2a8ce6">stanConnection_ReleaseNATSConnection</a>(<a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc);</div><div class="line"><a name="l03186"></a><span class="lineno"> 3186</span>&#160;</div><div class="line"><a name="l03195"></a><span class="lineno"> 3195</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03196"></a><span class="lineno"> 3196</span>&#160;<a class="code" href="group__stan_conn_mgt_group.html#ga4952a7f65a53fdb5ca1c26b1a1656f1d">stanConnection_Close</a>(<a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc);</div><div class="line"><a name="l03197"></a><span class="lineno"> 3197</span>&#160;</div><div class="line"><a name="l03205"></a><span class="lineno"> 3205</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03206"></a><span class="lineno"> 3206</span>&#160;<a class="code" href="group__stan_conn_mgt_group.html#gaea095eec18fdf04e06de16711f8b1a04">stanConnection_Destroy</a>(<a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc);</div><div class="line"><a name="l03207"></a><span class="lineno"> 3207</span>&#160; <span class="comment">// end of stanConnMgtGroup</span></div><div class="line"><a name="l03209"></a><span class="lineno"> 3209</span>&#160;</div><div class="line"><a name="l03226"></a><span class="lineno"> 3226</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03227"></a><span class="lineno"> 3227</span>&#160;<a class="code" href="group__stan_conn_pub_group.html#ga24f3f7f709b15fe53e1edaeead08fc7d">stanConnection_Publish</a>(<a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc, <span class="keyword">const</span> <span class="keywordtype">char</span> *channel,</div><div class="line"><a name="l03228"></a><span class="lineno"> 3228</span>&#160;                       <span class="keyword">const</span> <span class="keywordtype">void</span> *data, <span class="keywordtype">int</span> dataLen);</div><div class="line"><a name="l03229"></a><span class="lineno"> 3229</span>&#160;</div><div class="line"><a name="l03253"></a><span class="lineno"> 3253</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03254"></a><span class="lineno"> 3254</span>&#160;<a class="code" href="group__stan_conn_pub_group.html#ga0c4d1e4615f8ac834f0a4021f75d39f0">stanConnection_PublishAsync</a>(<a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc, <span class="keyword">const</span> <span class="keywordtype">char</span> *channel,</div><div class="line"><a name="l03255"></a><span class="lineno"> 3255</span>&#160;                            <span class="keyword">const</span> <span class="keywordtype">void</span> *data, <span class="keywordtype">int</span> dataLen,</div><div class="line"><a name="l03256"></a><span class="lineno"> 3256</span>&#160;                            <a class="code" href="group__callbacks_group.html#gad5d6a685731b3bf635995b7375af4d18">stanPubAckHandler</a> ah, <span class="keywordtype">void</span> *ahClosure);</div><div class="line"><a name="l03257"></a><span class="lineno"> 3257</span>&#160; <span class="comment">// end of stanConnPubGroup</span></div><div class="line"><a name="l03259"></a><span class="lineno"> 3259</span>&#160;</div><div class="line"><a name="l03280"></a><span class="lineno"> 3280</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03281"></a><span class="lineno"> 3281</span>&#160;<a class="code" href="group__stan_conn_sub_group.html#gae545358fdc493baf6d29429a8156781f">stanConnection_Subscribe</a>(<a class="code" href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">stanSubscription</a> **sub, <a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc,</div><div class="line"><a name="l03282"></a><span class="lineno"> 3282</span>&#160;                         <span class="keyword">const</span> <span class="keywordtype">char</span> *channel, <a class="code" href="group__callbacks_group.html#gaf7456e37fa14f1834d9048d3789e9409">stanMsgHandler</a> cb,</div><div class="line"><a name="l03283"></a><span class="lineno"> 3283</span>&#160;                         <span class="keywordtype">void</span> *cbClosure, <a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *options);</div><div class="line"><a name="l03284"></a><span class="lineno"> 3284</span>&#160;</div><div class="line"><a name="l03302"></a><span class="lineno"> 3302</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03303"></a><span class="lineno"> 3303</span>&#160;<a class="code" href="group__stan_conn_sub_group.html#ga17d42bf9a4fa39470561a1a668e6b4a2">stanConnection_QueueSubscribe</a>(<a class="code" href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">stanSubscription</a> **sub, <a class="code" href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a> *sc,</div><div class="line"><a name="l03304"></a><span class="lineno"> 3304</span>&#160;                              <span class="keyword">const</span> <span class="keywordtype">char</span> *channel, <span class="keyword">const</span> <span class="keywordtype">char</span> *queueGroup,</div><div class="line"><a name="l03305"></a><span class="lineno"> 3305</span>&#160;                              <a class="code" href="group__callbacks_group.html#gaf7456e37fa14f1834d9048d3789e9409">stanMsgHandler</a> cb, <span class="keywordtype">void</span> *cbClosure, <a class="code" href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a> *options);</div><div class="line"><a name="l03306"></a><span class="lineno"> 3306</span>&#160; <span class="comment">// end of stanConnSubGroup</span></div><div class="line"><a name="l03308"></a><span class="lineno"> 3308</span>&#160; <span class="comment">// end of stanConnGroup</span></div><div class="line"><a name="l03310"></a><span class="lineno"> 3310</span>&#160;</div><div class="line"><a name="l03326"></a><span class="lineno"> 3326</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03327"></a><span class="lineno"> 3327</span>&#160;<a class="code" href="group__stan_sub_group.html#ga3a1cca9fa3ea54fcf7a43fd1335a26d3">stanSubscription_AckMsg</a>(<a class="code" href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">stanSubscription</a> *sub, <a class="code" href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a> *msg);</div><div class="line"><a name="l03328"></a><span class="lineno"> 3328</span>&#160;</div><div class="line"><a name="l03346"></a><span class="lineno"> 3346</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03347"></a><span class="lineno"> 3347</span>&#160;<a class="code" href="group__stan_sub_group.html#gafa428a7e0f6800216cb06fd738bd235e">stanSubscription_Unsubscribe</a>(<a class="code" href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">stanSubscription</a> *sub);</div><div class="line"><a name="l03348"></a><span class="lineno"> 3348</span>&#160;</div><div class="line"><a name="l03357"></a><span class="lineno"> 3357</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <a class="code" href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="line"><a name="l03358"></a><span class="lineno"> 3358</span>&#160;<a class="code" href="group__stan_sub_group.html#gacfa3a7b4fa333c84acfa7521fbbb5bcc">stanSubscription_Close</a>(<a class="code" href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">stanSubscription</a> *sub);</div><div class="line"><a name="l03359"></a><span class="lineno"> 3359</span>&#160;</div><div class="line"><a name="l03367"></a><span class="lineno"> 3367</span>&#160;<a class="code" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a> <span class="keywordtype">void</span></div><div class="line"><a name="l03368"></a><span class="lineno"> 3368</span>&#160;<a class="code" href="group__stan_sub_group.html#ga3f6ce924f6a1830a55e30e9910aad4ba">stanSubscription_Destroy</a>(<a class="code" href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">stanSubscription</a> *sub);</div><div class="line"><a name="l03369"></a><span class="lineno"> 3369</span>&#160; <span class="comment">// end of stanSubGroup</span></div><div class="line"><a name="l03371"></a><span class="lineno"> 3371</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l03372"></a><span class="lineno"> 3372</span>&#160; <span class="comment">// end of funcGroup</span></div><div class="line"><a name="l03374"></a><span class="lineno"> 3374</span>&#160;</div><div class="line"><a name="l03411"></a><span class="lineno"> 3411</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l03412"></a><span class="lineno"> 3412</span>&#160;}</div><div class="line"><a name="l03413"></a><span class="lineno"> 3413</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l03414"></a><span class="lineno"> 3414</span>&#160;</div><div class="line"><a name="l03415"></a><span class="lineno"> 3415</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* NATS_H_ */</span><span class="preprocessor"></span></div><div class="ttc" id="group__opts_group_html_gaafda5fb8d9ee3a17bd475ceaecfac218"><div class="ttname"><a href="group__opts_group.html#gaafda5fb8d9ee3a17bd475ceaecfac218">natsOptions_SetWriteDeadline</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetWriteDeadline(natsOptions *opts, int64_t deadline)</div><div class="ttdoc">Sets the write deadline. </div></div>
<div class="ttc" id="group__types_group_html_ga206c3d4d6f4f6f96fd2cae53a3df31c1"><div class="ttname"><a href="group__types_group.html#ga206c3d4d6f4f6f96fd2cae53a3df31c1">natsInbox</a></div><div class="ttdeci">char natsInbox</div><div class="ttdoc">Unique subject often used for point-to-point communication. </div><div class="ttdef"><b>Definition:</b> nats.h:137</div></div>
<div class="ttc" id="group__library_group_html_gaf75bb5b38bf32e6a8f43e54068625903"><div class="ttname"><a href="group__library_group.html#gaf75bb5b38bf32e6a8f43e54068625903">nats_CloseAndWait</a></div><div class="ttdeci">NATS_EXTERN natsStatus nats_CloseAndWait(int64_t timeout)</div><div class="ttdoc">Tear down the library and wait for all resources to be released. </div></div>
<div class="ttc" id="group__library_group_html_ga2610d5691a89a0f2526989083bee0fd3"><div class="ttname"><a href="group__library_group.html#ga2610d5691a89a0f2526989083bee0fd3">nats_GetLastError</a></div><div class="ttdeci">NATS_EXTERN const char * nats_GetLastError(natsStatus *status)</div><div class="ttdoc">Returns the calling thread&amp;#39;s last known error. </div></div>
<div class="ttc" id="group__stats_group_html_ga26a04e77af8fc160adf7c33088dcf59c"><div class="ttname"><a href="group__stats_group.html#ga26a04e77af8fc160adf7c33088dcf59c">natsStatistics_Destroy</a></div><div class="ttdeci">NATS_EXTERN void natsStatistics_Destroy(natsStatistics *stats)</div><div class="ttdoc">Destroys the natsStatistics object. </div></div>
<div class="ttc" id="group__library_group_html_gacf5e423920d6a647df3bbf7de39d5223"><div class="ttname"><a href="group__library_group.html#gacf5e423920d6a647df3bbf7de39d5223">nats_NowInNanoSeconds</a></div><div class="ttdeci">NATS_EXTERN int64_t nats_NowInNanoSeconds(void)</div><div class="ttdoc">Gives the current time in nanoseconds. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_ga66c72c482696d9ceca71fced7cbb1264"><div class="ttname"><a href="group__stan_conn_opts_group.html#ga66c72c482696d9ceca71fced7cbb1264">stanConnOptions_SetConnectionWait</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnOptions_SetConnectionWait(stanConnOptions *opts, int64_t wait)</div><div class="ttdoc">Sets the timeout for establishing a connection. </div></div>
<div class="ttc" id="group__library_group_html_ga4a26d4caecb23348f6eee862c95fee7d"><div class="ttname"><a href="group__library_group.html#ga4a26d4caecb23348f6eee862c95fee7d">nats_Open</a></div><div class="ttdeci">NATS_EXTERN natsStatus nats_Open(int64_t lockSpinCount)</div><div class="ttdoc">Initializes the library. </div></div>
<div class="ttc" id="group__opts_group_html_ga23a3b1f022112e98ddccb18b247b4426"><div class="ttname"><a href="group__opts_group.html#ga23a3b1f022112e98ddccb18b247b4426">natsOptions_SetTokenHandler</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetTokenHandler(natsOptions *opts, natsTokenHandler tokenCb, void *closure)</div><div class="ttdoc">Sets the tokenCb to use whenever a token is needed. </div></div>
<div class="ttc" id="group__opts_group_html_ga1c529d347be0fe2eec17c7f4698e283e"><div class="ttname"><a href="group__opts_group.html#ga1c529d347be0fe2eec17c7f4698e283e">natsOptions_SetName</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetName(natsOptions *opts, const char *name)</div><div class="ttdoc">Sets the name. </div></div>
<div class="ttc" id="group__types_group_html_ga023712711f5c289663fc2223e83686d3"><div class="ttname"><a href="group__types_group.html#ga023712711f5c289663fc2223e83686d3">stanSubOptions</a></div><div class="ttdeci">struct __stanSubOptions stanSubOptions</div><div class="ttdoc">Way to configure a stanSubscription. </div><div class="ttdef"><b>Definition:</b> nats.h:168</div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga740be1ba16a8570eb98ef6755ebf52ce"><div class="ttname"><a href="group__conn_mgt_group.html#ga740be1ba16a8570eb98ef6755ebf52ce">natsConnection_Connect</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_Connect(natsConnection **nc, natsOptions *options)</div><div class="ttdoc">Connects to a NATS Server using the provided options. </div></div>
<div class="ttc" id="group__inbox_group_html_gac3db6bd01235144886cb0ee5cf444048"><div class="ttname"><a href="group__inbox_group.html#gac3db6bd01235144886cb0ee5cf444048">natsInbox_Destroy</a></div><div class="ttdeci">NATS_EXTERN void natsInbox_Destroy(char *inbox)</div><div class="ttdoc">Destroys the inbox. </div></div>
<div class="ttc" id="group__callbacks_group_html_ga258b30458134be90f17315c037f34b7b"><div class="ttname"><a href="group__callbacks_group.html#ga258b30458134be90f17315c037f34b7b">natsUserJWTHandler</a></div><div class="ttdeci">natsStatus(* natsUserJWTHandler)(char **userJWT, char **customErrTxt, void *closure)</div><div class="ttdoc">Callback used to fetch and return account signed user JWT. </div><div class="ttdef"><b>Definition:</b> nats.h:297</div></div>
<div class="ttc" id="group__opts_group_html_gadc8dc0cedd91bda71d544f3dedc4a039"><div class="ttname"><a href="group__opts_group.html#gadc8dc0cedd91bda71d544f3dedc4a039">natsOptions_SetDisconnectedCB</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetDisconnectedCB(natsOptions *opts, natsConnectionHandler disconnectedCb, void *closure)</div><div class="ttdoc">Sets the callback to be invoked when the connection to a server is lost. </div></div>
<div class="ttc" id="group__opts_group_html_gacb7e964ae54b74d972d72e118b7b8bdf"><div class="ttname"><a href="group__opts_group.html#gacb7e964ae54b74d972d72e118b7b8bdf">natsOptions_SetServers</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetServers(natsOptions *opts, const char **servers, int serversCount)</div><div class="ttdoc">Set the list of servers to try to (re)connect to. </div></div>
<div class="ttc" id="group__stan_msg_group_html_gacd0059fb499963f5b2eae18053e5f74f"><div class="ttname"><a href="group__stan_msg_group.html#gacd0059fb499963f5b2eae18053e5f74f">stanMsg_Destroy</a></div><div class="ttdeci">NATS_EXTERN void stanMsg_Destroy(stanMsg *msg)</div><div class="ttdoc">Destroys the message object. </div></div>
<div class="ttc" id="group__conn_sub_group_html_gaefab965b5645798d47f9244f2b3fe3fb"><div class="ttname"><a href="group__conn_sub_group.html#gaefab965b5645798d47f9244f2b3fe3fb">natsConnection_Subscribe</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_Subscribe(natsSubscription **sub, natsConnection *nc, const char *subject, natsMsgHandler cb, void *cbClosure)</div><div class="ttdoc">Creates an asynchronous subscription. </div></div>
<div class="ttc" id="group__stan_conn_sub_group_html_gae545358fdc493baf6d29429a8156781f"><div class="ttname"><a href="group__stan_conn_sub_group.html#gae545358fdc493baf6d29429a8156781f">stanConnection_Subscribe</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnection_Subscribe(stanSubscription **sub, stanConnection *sc, const char *channel, stanMsgHandler cb, void *cbClosure, stanSubOptions *options)</div><div class="ttdoc">Creates a subscription. </div></div>
<div class="ttc" id="group__conn_pub_group_html_gad09a717c20de4cf0e2a21dcfd9ce6c64"><div class="ttname"><a href="group__conn_pub_group.html#gad09a717c20de4cf0e2a21dcfd9ce6c64">natsConnection_PublishString</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_PublishString(natsConnection *nc, const char *subj, const char *str)</div><div class="ttdoc">Publishes a string on a subject. </div></div>
<div class="ttc" id="group__stan_msg_group_html_gad02b6e994991e0c6e15a33df3ec31908"><div class="ttname"><a href="group__stan_msg_group.html#gad02b6e994991e0c6e15a33df3ec31908">stanMsg_GetDataLength</a></div><div class="ttdeci">NATS_EXTERN int stanMsg_GetDataLength(stanMsg *msg)</div><div class="ttdoc">Returns the message length. </div></div>
<div class="ttc" id="group__sub_group_html_ga38f1e41fc7619101fc4aa52014dd5428"><div class="ttname"><a href="group__sub_group.html#ga38f1e41fc7619101fc4aa52014dd5428">natsSubscription_NoDeliveryDelay</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_NoDeliveryDelay(natsSubscription *sub)</div><div class="ttdoc">Enables the No Delivery Delay mode. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_gad87a2cef4f4ddf64696f9864773c37cf"><div class="ttname"><a href="group__stan_sub_opts_group.html#gad87a2cef4f4ddf64696f9864773c37cf">stanSubOptions_Create</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_Create(stanSubOptions **newOpts)</div><div class="ttdoc">Creates a stanSubOptions object. </div></div>
<div class="ttc" id="group__sub_group_html_gaca6262e2ef842caa701a9f233db72707"><div class="ttname"><a href="group__sub_group.html#gaca6262e2ef842caa701a9f233db72707">natsSubscription_GetPending</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_GetPending(natsSubscription *sub, int *msgs, int *bytes)</div><div class="ttdoc">Returns the number of pending messages and bytes. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga530f0f1c75c58a81aae1a59f15b46d9f"><div class="ttname"><a href="group__conn_mgt_group.html#ga530f0f1c75c58a81aae1a59f15b46d9f">natsConnection_IsClosed</a></div><div class="ttdeci">NATS_EXTERN bool natsConnection_IsClosed(natsConnection *nc)</div><div class="ttdoc">Test if connection has been closed. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_ga6cb7f6e1ac697d16959f9042eeb84dc1"><div class="ttname"><a href="group__stan_sub_opts_group.html#ga6cb7f6e1ac697d16959f9042eeb84dc1">stanSubOptions_StartAtSequence</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_StartAtSequence(stanSubOptions *opts, uint64_t seq)</div><div class="ttdoc">Sets the desired start position based on the given sequence number. </div></div>
<div class="ttc" id="group__library_group_html_gad5040264cd4b1404956babf3c03a4f09"><div class="ttname"><a href="group__library_group.html#gad5040264cd4b1404956babf3c03a4f09">nats_Sleep</a></div><div class="ttdeci">NATS_EXTERN void nats_Sleep(int64_t sleepTime)</div><div class="ttdoc">Sleeps for a given number of milliseconds. </div></div>
<div class="ttc" id="group__conn_sub_group_html_ga68630ea7c4bbdc7f8cd62058b41fb476"><div class="ttname"><a href="group__conn_sub_group.html#ga68630ea7c4bbdc7f8cd62058b41fb476">natsConnection_QueueSubscribeSync</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_QueueSubscribeSync(natsSubscription **sub, natsConnection *nc, const char *subject, const char *queueGroup)</div><div class="ttdoc">Creates a synchronous queue subscriber. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_ga856a74e31f3307faf988747c1f88717c"><div class="ttname"><a href="group__stan_sub_opts_group.html#ga856a74e31f3307faf988747c1f88717c">stanSubOptions_StartWithLastReceived</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_StartWithLastReceived(stanSubOptions *opts)</div><div class="ttdoc">The subscription should start with the last message in the channel. </div></div>
<div class="ttc" id="group__types_group_html_ga87158ec63b4f90f69e20451624ea01d8"><div class="ttname"><a href="group__types_group.html#ga87158ec63b4f90f69e20451624ea01d8">natsSubscription</a></div><div class="ttdeci">struct __natsSubscription natsSubscription</div><div class="ttdoc">Interest on a given subject. </div><div class="ttdef"><b>Definition:</b> nats.h:115</div></div>
<div class="ttc" id="group__msg_group_html_ga098e4fec1c5a71c00a0d092fbd6d1a21"><div class="ttname"><a href="group__msg_group.html#ga098e4fec1c5a71c00a0d092fbd6d1a21">natsMsg_Create</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsMsg_Create(natsMsg **newMsg, const char *subj, const char *reply, const char *data, int dataLen)</div><div class="ttdoc">Creates a natsMsg object. </div></div>
<div class="ttc" id="group__stan_msg_group_html_gac9883bb19b4d260bbc63af671b7a0ec6"><div class="ttname"><a href="group__stan_msg_group.html#gac9883bb19b4d260bbc63af671b7a0ec6">stanMsg_GetSequence</a></div><div class="ttdeci">NATS_EXTERN uint64_t stanMsg_GetSequence(stanMsg *msg)</div><div class="ttdoc">Returns the message&amp;#39;s sequence number. </div></div>
<div class="ttc" id="group__conn_sub_group_html_ga96fa115fd5b2ef7658884da80714b91c"><div class="ttname"><a href="group__conn_sub_group.html#ga96fa115fd5b2ef7658884da80714b91c">natsConnection_QueueSubscribeTimeout</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_QueueSubscribeTimeout(natsSubscription **sub, natsConnection *nc, const char *subject, const char *queueGroup, int64_t timeout, natsMsgHandler cb, void *cbClosure)</div><div class="ttdoc">Creates an asynchronous queue subscriber with a timeout. </div></div>
<div class="ttc" id="group__library_group_html_gae75131e0ce4e5b89d0f82ea7892f112e"><div class="ttname"><a href="group__library_group.html#gae75131e0ce4e5b89d0f82ea7892f112e">nats_Close</a></div><div class="ttdeci">NATS_EXTERN void nats_Close(void)</div><div class="ttdoc">Tear down the library. </div></div>
<div class="ttc" id="group__stan_conn_mgt_group_html_ga35e0e6e5e3b7f3818a3ac3600efb8f8f"><div class="ttname"><a href="group__stan_conn_mgt_group.html#ga35e0e6e5e3b7f3818a3ac3600efb8f8f">stanConnection_Connect</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnection_Connect(stanConnection **sc, const char *clusterID, const char *clientID, stanConnOptions *options)</div><div class="ttdoc">Connects to a NATS Streaming Server using the provided options. </div></div>
<div class="ttc" id="group__opts_group_html_gaaff89c3f41627f4b2929dbc9b82d265b"><div class="ttname"><a href="group__opts_group.html#gaaff89c3f41627f4b2929dbc9b82d265b">natsOptions_SetMaxPingsOut</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetMaxPingsOut(natsOptions *opts, int maxPingsOut)</div><div class="ttdoc">Sets the limit of outstanding PINGs without corresponding PONGs. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga15a0f8aa9a6f621535d01593a4c8edd5"><div class="ttname"><a href="group__conn_mgt_group.html#ga15a0f8aa9a6f621535d01593a4c8edd5">natsConnection_IsDraining</a></div><div class="ttdeci">bool natsConnection_IsDraining(natsConnection *nc)</div><div class="ttdoc">Test if connection is draining. </div></div>
<div class="ttc" id="group__opts_group_html_ga70aa85319933d78c0076cc862fa3e5a6"><div class="ttname"><a href="group__opts_group.html#ga70aa85319933d78c0076cc862fa3e5a6">natsOptions_UseOldRequestStyle</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_UseOldRequestStyle(natsOptions *opts, bool useOldStyle)</div><div class="ttdoc">Switches the use of old style requests. </div></div>
<div class="ttc" id="group__stan_conn_mgt_group_html_ga166ec494a55c9b1f9ebafd2294e05ff6"><div class="ttname"><a href="group__stan_conn_mgt_group.html#ga166ec494a55c9b1f9ebafd2294e05ff6">stanConnection_GetNATSConnection</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnection_GetNATSConnection(stanConnection *sc, natsConnection **nc)</div><div class="ttdoc">Returns the underlying NATS Connection. </div></div>
<div class="ttc" id="group__stan_msg_group_html_ga2cee54b6bfadf5b82a95caf75bfaf7d8"><div class="ttname"><a href="group__stan_msg_group.html#ga2cee54b6bfadf5b82a95caf75bfaf7d8">stanMsg_GetData</a></div><div class="ttdeci">NATS_EXTERN const char * stanMsg_GetData(stanMsg *msg)</div><div class="ttdoc">Returns the message payload. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga68821a8ae1176096b5afef7fdc7947ec"><div class="ttname"><a href="group__conn_mgt_group.html#ga68821a8ae1176096b5afef7fdc7947ec">natsConnection_GetStats</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_GetStats(natsConnection *nc, natsStatistics *stats)</div><div class="ttdoc">Gets the connection statistics. </div></div>
<div class="ttc" id="group__types_group_html_ga2cf5db7703b42d97abe56a3e83b2a87d"><div class="ttname"><a href="group__types_group.html#ga2cf5db7703b42d97abe56a3e83b2a87d">stanMsg</a></div><div class="ttdeci">struct __stanMsg stanMsg</div><div class="ttdoc">The Streaming message. </div><div class="ttdef"><b>Definition:</b> nats.h:156</div></div>
<div class="ttc" id="group__opts_group_html_ga4f694b87039cedaa65cd25656b14d1a3"><div class="ttname"><a href="group__opts_group.html#ga4f694b87039cedaa65cd25656b14d1a3">natsOptions_SetNoEcho</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetNoEcho(natsOptions *opts, bool noEcho)</div><div class="ttdoc">Sets if connection receives its own messages. </div></div>
<div class="ttc" id="group__sub_group_html_ga8a37b2d5290da3aecc05483d79e7e254"><div class="ttname"><a href="group__sub_group.html#ga8a37b2d5290da3aecc05483d79e7e254">natsSubscription_QueuedMsgs</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_QueuedMsgs(natsSubscription *sub, uint64_t *queuedMsgs)</div><div class="ttdoc">Gets the number of pending messages. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_ga6f49ae2629e49d2bfa35990cf030bf83"><div class="ttname"><a href="group__stan_sub_opts_group.html#ga6f49ae2629e49d2bfa35990cf030bf83">stanSubOptions_SetManualAckMode</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_SetManualAckMode(stanSubOptions *opts, bool manual)</div><div class="ttdoc">Sets the subscription&amp;#39;s acknowledgment mode. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga5aa349fc3895dde772671b324b07a688"><div class="ttname"><a href="group__conn_mgt_group.html#ga5aa349fc3895dde772671b324b07a688">natsConnection_IsReconnecting</a></div><div class="ttdeci">NATS_EXTERN bool natsConnection_IsReconnecting(natsConnection *nc)</div><div class="ttdoc">Test if connection is reconnecting. </div></div>
<div class="ttc" id="group__msg_group_html_ga3efb98fd6369d9b674638ea93cccf0ab"><div class="ttname"><a href="group__msg_group.html#ga3efb98fd6369d9b674638ea93cccf0ab">natsMsg_GetReply</a></div><div class="ttdeci">NATS_EXTERN const char * natsMsg_GetReply(natsMsg *msg)</div><div class="ttdoc">Returns the reply set in this message. </div></div>
<div class="ttc" id="group__opts_group_html_ga0ba43ba9930df385e4781b12be9f2851"><div class="ttname"><a href="group__opts_group.html#ga0ba43ba9930df385e4781b12be9f2851">natsOptions_SetExpectedHostname</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetExpectedHostname(natsOptions *opts, const char *hostname)</div><div class="ttdoc">Sets the server certificate&amp;#39;s expected hostname. </div></div>
<div class="ttc" id="group__stan_conn_pub_group_html_ga0c4d1e4615f8ac834f0a4021f75d39f0"><div class="ttname"><a href="group__stan_conn_pub_group.html#ga0c4d1e4615f8ac834f0a4021f75d39f0">stanConnection_PublishAsync</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnection_PublishAsync(stanConnection *sc, const char *channel, const void *data, int dataLen, stanPubAckHandler ah, void *ahClosure)</div><div class="ttdoc">Asynchronously publishes data on a channel. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_gad835223f08fbeae2a3c7a34d3fa1550b"><div class="ttname"><a href="group__stan_conn_opts_group.html#gad835223f08fbeae2a3c7a34d3fa1550b">stanConnOptions_SetPings</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnOptions_SetPings(stanConnOptions *opts, int interval, int maxOut)</div><div class="ttdoc">Sets the ping interval and max out values. </div></div>
<div class="ttc" id="group__conn_pub_group_html_ga4bb5105df6a3efd2088e6be0fdf6b31f"><div class="ttname"><a href="group__conn_pub_group.html#ga4bb5105df6a3efd2088e6be0fdf6b31f">natsConnection_RequestString</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_RequestString(natsMsg **replyMsg, natsConnection *nc, const char *subj, const char *str, int64_t timeout)</div><div class="ttdoc">Sends a request (as a string) and waits for a reply. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga0433159e518540ff874c4026fe9cd0c5"><div class="ttname"><a href="group__conn_mgt_group.html#ga0433159e518540ff874c4026fe9cd0c5">natsConnection_Buffered</a></div><div class="ttdeci">NATS_EXTERN int natsConnection_Buffered(natsConnection *nc)</div><div class="ttdoc">Returns the number of bytes to be sent to the server. </div></div>
<div class="ttc" id="group__sub_group_html_ga786bb458981274fe717f266bd3b96d96"><div class="ttname"><a href="group__sub_group.html#ga786bb458981274fe717f266bd3b96d96">natsSubscription_GetPendingLimits</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_GetPendingLimits(natsSubscription *sub, int *msgLimit, int *bytesLimit)</div><div class="ttdoc">Returns the current limit for pending messages and bytes. </div></div>
<div class="ttc" id="group__sub_group_html_ga476b7276d0b7f9946834d2bb2423e955"><div class="ttname"><a href="group__sub_group.html#ga476b7276d0b7f9946834d2bb2423e955">natsSubscription_GetDelivered</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_GetDelivered(natsSubscription *sub, int64_t *msgs)</div><div class="ttdoc">Returns the number of delivered messages. </div></div>
<div class="ttc" id="group__callbacks_group_html_ga9e511dffa471dfb971b7dd2b12329626"><div class="ttname"><a href="group__callbacks_group.html#ga9e511dffa471dfb971b7dd2b12329626">natsErrHandler</a></div><div class="ttdeci">void(* natsErrHandler)(natsConnection *nc, natsSubscription *subscription, natsStatus err, void *closure)</div><div class="ttdoc">Callback used to notify the user of errors encountered while processing inbound messages. </div><div class="ttdef"><b>Definition:</b> nats.h:217</div></div>
<div class="ttc" id="group__library_group_html_gafe171baefa00a85b77205116e9f3e48a"><div class="ttname"><a href="group__library_group.html#gafe171baefa00a85b77205116e9f3e48a">nats_ReleaseThreadMemory</a></div><div class="ttdeci">NATS_EXTERN void nats_ReleaseThreadMemory(void)</div><div class="ttdoc">Release thread-local memory possibly allocated by the library. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gad81b603b84c0180aefc6d5ebad7f2a47"><div class="ttname"><a href="group__conn_mgt_group.html#gad81b603b84c0180aefc6d5ebad7f2a47">natsConnection_ProcessWriteEvent</a></div><div class="ttdeci">NATS_EXTERN void natsConnection_ProcessWriteEvent(natsConnection *nc)</div><div class="ttdoc">Process a write event when using external event loop. </div></div>
<div class="ttc" id="group__types_group_html_ga57a4b8c7109e2773878655722ce028aa"><div class="ttname"><a href="group__types_group.html#ga57a4b8c7109e2773878655722ce028aa">natsStatistics</a></div><div class="ttdeci">struct __natsStatistics natsStatistics</div><div class="ttdoc">Statistics of a natsConnection. </div><div class="ttdef"><b>Definition:</b> nats.h:109</div></div>
<div class="ttc" id="group__sub_group_html_gaee87f8be0e6c2a4693ba2cea070583ba"><div class="ttname"><a href="group__sub_group.html#gaee87f8be0e6c2a4693ba2cea070583ba">natsSubscription_Unsubscribe</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_Unsubscribe(natsSubscription *sub)</div><div class="ttdoc">Unsubscribes. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_gaff52a1ce90253b4bdbb0005fca4f71b6"><div class="ttname"><a href="group__stan_conn_opts_group.html#gaff52a1ce90253b4bdbb0005fca4f71b6">stanConnOptions_Create</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnOptions_Create(stanConnOptions **newOpts)</div><div class="ttdoc">Creates a stanConnOptions object. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga747513ba6ab63fdf9a72bfc8025a14ba"><div class="ttname"><a href="group__conn_mgt_group.html#ga747513ba6ab63fdf9a72bfc8025a14ba">natsConnection_GetClientID</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_GetClientID(natsConnection *nc, uint64_t *cid)</div><div class="ttdoc">Gets the current client ID assigned by the server. </div></div>
<div class="ttc" id="group__opts_group_html_ga3d1d3cb2f2a0e23d27dd60e96d1cc91b"><div class="ttname"><a href="group__opts_group.html#ga3d1d3cb2f2a0e23d27dd60e96d1cc91b">natsOptions_SetAllowReconnect</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetAllowReconnect(natsOptions *opts, bool allow)</div><div class="ttdoc">Indicates if the connection will be allowed to reconnect. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_ga83fd0a29b136cbfb643be642eb2fa726"><div class="ttname"><a href="group__stan_conn_opts_group.html#ga83fd0a29b136cbfb643be642eb2fa726">stanConnOptions_Destroy</a></div><div class="ttdeci">NATS_EXTERN void stanConnOptions_Destroy(stanConnOptions *opts)</div><div class="ttdoc">Destroys a stanConnOptions object. </div></div>
<div class="ttc" id="group__callbacks_group_html_gab786ffd670c86de0563559351305080b"><div class="ttname"><a href="group__callbacks_group.html#gab786ffd670c86de0563559351305080b">natsSignatureHandler</a></div><div class="ttdeci">natsStatus(* natsSignatureHandler)(char **customErrTxt, unsigned char **signature, int *signatureLength, const char *nonce, void *closure)</div><div class="ttdoc">Callback used to sign a nonce sent by the server. </div><div class="ttdef"><b>Definition:</b> nats.h:328</div></div>
<div class="ttc" id="group__opts_group_html_ga8f06568cc3319a5a0eef9f80282034ca"><div class="ttname"><a href="group__opts_group.html#ga8f06568cc3319a5a0eef9f80282034ca">natsOptions_SetSendAsap</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetSendAsap(natsOptions *opts, bool sendAsap)</div><div class="ttdoc">Sets if Publish calls should send data right away. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga1c98f8d89bb8e20ea8621e860a90267f"><div class="ttname"><a href="group__conn_mgt_group.html#ga1c98f8d89bb8e20ea8621e860a90267f">natsConnection_Flush</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_Flush(natsConnection *nc)</div><div class="ttdoc">Flushes the connection. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gaf623280407c43ade02285005f0642e6d"><div class="ttname"><a href="group__conn_mgt_group.html#gaf623280407c43ade02285005f0642e6d">natsConnection_GetConnectedUrl</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_GetConnectedUrl(natsConnection *nc, char *buffer, size_t bufferSize)</div><div class="ttdoc">Gets the URL of the currently connected server. </div></div>
<div class="ttc" id="group__opts_group_html_ga95510436eee06f9992ded96a44795c40"><div class="ttname"><a href="group__opts_group.html#ga95510436eee06f9992ded96a44795c40">natsOptions_SetMaxPendingMsgs</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetMaxPendingMsgs(natsOptions *opts, int maxPending)</div><div class="ttdoc">Sets the maximum number of pending messages per subscription. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga6960cfdbaac3b8759784f352d4c264f8"><div class="ttname"><a href="group__conn_mgt_group.html#ga6960cfdbaac3b8759784f352d4c264f8">natsConnection_Sign</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_Sign(natsConnection *nc, const unsigned char *message, int messageLen, unsigned char sig[64])</div><div class="ttdoc">Signs any &amp;#39;message&amp;#39; using the connection&amp;#39;s user credentials. </div></div>
<div class="ttc" id="group__library_group_html_ga8c2ad4df801bd9d11564587ed3a7081e"><div class="ttname"><a href="group__library_group.html#ga8c2ad4df801bd9d11564587ed3a7081e">nats_CheckCompatibility</a></div><div class="ttdeci">NATS_EXTERN bool nats_CheckCompatibility(void)</div><div class="ttdoc">Check that the header is compatible with the library. </div></div>
<div class="ttc" id="group__stan_msg_group_html_ga0a9a64532ee20ed4fcef5ee9bbd6dfb5"><div class="ttname"><a href="group__stan_msg_group.html#ga0a9a64532ee20ed4fcef5ee9bbd6dfb5">stanMsg_GetTimestamp</a></div><div class="ttdeci">NATS_EXTERN int64_t stanMsg_GetTimestamp(stanMsg *msg)</div><div class="ttdoc">Returns the message&amp;#39;s timestamp. </div></div>
<div class="ttc" id="group__stan_sub_group_html_gafa428a7e0f6800216cb06fd738bd235e"><div class="ttname"><a href="group__stan_sub_group.html#gafa428a7e0f6800216cb06fd738bd235e">stanSubscription_Unsubscribe</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubscription_Unsubscribe(stanSubscription *sub)</div><div class="ttdoc">Permanently remove a subscription. </div></div>
<div class="ttc" id="group__inbox_group_html_ga3d59c517d5aa0827b22e66a308a8fe6e"><div class="ttname"><a href="group__inbox_group.html#ga3d59c517d5aa0827b22e66a308a8fe6e">natsInbox_Create</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsInbox_Create(char **newInbox)</div><div class="ttdoc">Creates an inbox. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_ga35efbdea888e00440c500845064931c0"><div class="ttname"><a href="group__stan_sub_opts_group.html#ga35efbdea888e00440c500845064931c0">stanSubOptions_SetMaxInflight</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_SetMaxInflight(stanSubOptions *opts, int maxInflight)</div><div class="ttdoc">Sets the the maximum number of messages the cluster will send without an ACK. </div></div>
<div class="ttc" id="group__conn_pub_group_html_ga74511acd87385931112c45c48c2a14ba"><div class="ttname"><a href="group__conn_pub_group.html#ga74511acd87385931112c45c48c2a14ba">natsConnection_PublishMsg</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_PublishMsg(natsConnection *nc, natsMsg *msg)</div><div class="ttdoc">Publishes a message on a subject. </div></div>
<div class="ttc" id="group__conn_pub_group_html_gaaaa3d75ffec2dcdc6bf905cdb1eee59e"><div class="ttname"><a href="group__conn_pub_group.html#gaaaa3d75ffec2dcdc6bf905cdb1eee59e">natsConnection_PublishRequest</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_PublishRequest(natsConnection *nc, const char *subj, const char *reply, const void *data, int dataLen)</div><div class="ttdoc">Publishes data on a subject expecting replies on the given reply. </div></div>
<div class="ttc" id="group__opts_group_html_gab54cd2719c0b64eebd6c7b83dd2908a0"><div class="ttname"><a href="group__opts_group.html#gab54cd2719c0b64eebd6c7b83dd2908a0">natsOptions_SetMaxReconnect</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetMaxReconnect(natsOptions *opts, int maxReconnect)</div><div class="ttdoc">Sets the maximum number of reconnect attempts. </div></div>
<div class="ttc" id="status_8h_html_a36c934157b663b7b5fb5d6609c897c80"><div class="ttname"><a href="status_8h.html#a36c934157b663b7b5fb5d6609c897c80">natsStatus</a></div><div class="ttdeci">natsStatus</div><div class="ttdoc">Status returned by most of the APIs. </div><div class="ttdef"><b>Definition:</b> status.h:49</div></div>
<div class="ttc" id="group__conn_sub_group_html_ga17574d5165f7e285462e3d3b2709edf4"><div class="ttname"><a href="group__conn_sub_group.html#ga17574d5165f7e285462e3d3b2709edf4">natsConnection_SubscribeSync</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_SubscribeSync(natsSubscription **sub, natsConnection *nc, const char *subject)</div><div class="ttdoc">Creates a synchronous subcription. </div></div>
<div class="ttc" id="group__callbacks_group_html_ga2bb5dd2d821ca5bbc0488f7e6aceed17"><div class="ttname"><a href="group__callbacks_group.html#ga2bb5dd2d821ca5bbc0488f7e6aceed17">natsEvLoop_WriteAddRemove</a></div><div class="ttdeci">natsStatus(* natsEvLoop_WriteAddRemove)(void *userData, bool add)</div><div class="ttdoc">Write event needs to be added or removed. </div><div class="ttdef"><b>Definition:</b> nats.h:262</div></div>
<div class="ttc" id="group__opts_group_html_gaa16bfd09ef318af18c27a0e199681b69"><div class="ttname"><a href="group__opts_group.html#gaa16bfd09ef318af18c27a0e199681b69">natsOptions_SetVerbose</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetVerbose(natsOptions *opts, bool verbose)</div><div class="ttdoc">Sets the verbose mode. </div></div>
<div class="ttc" id="group__stan_conn_sub_group_html_ga17d42bf9a4fa39470561a1a668e6b4a2"><div class="ttname"><a href="group__stan_conn_sub_group.html#ga17d42bf9a4fa39470561a1a668e6b4a2">stanConnection_QueueSubscribe</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnection_QueueSubscribe(stanSubscription **sub, stanConnection *sc, const char *channel, const char *queueGroup, stanMsgHandler cb, void *cbClosure, stanSubOptions *options)</div><div class="ttdoc">Creates a queue subscription. </div></div>
<div class="ttc" id="group__status_group_html_ga0f7a5e105311800d957ae7b28d1ab752"><div class="ttname"><a href="group__status_group.html#ga0f7a5e105311800d957ae7b28d1ab752">natsStatus_GetText</a></div><div class="ttdeci">NATS_EXTERN const char * natsStatus_GetText(natsStatus s)</div><div class="ttdoc">Get the text corresponding to a natsStatus. </div></div>
<div class="ttc" id="group__opts_group_html_ga6f804ec44adc299989fe623570679da3"><div class="ttname"><a href="group__opts_group.html#ga6f804ec44adc299989fe623570679da3">natsOptions_SkipServerVerification</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SkipServerVerification(natsOptions *opts, bool skip)</div><div class="ttdoc">Switch server certificate verification. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gae06fe6f5933f216d6d93645a122a7dd4"><div class="ttname"><a href="group__conn_mgt_group.html#gae06fe6f5933f216d6d93645a122a7dd4">natsConnection_DrainTimeout</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_DrainTimeout(natsConnection *nc, int64_t timeout)</div><div class="ttdoc">Drains the connection with given timeout. </div></div>
<div class="ttc" id="group__types_group_html_gabcc48b40a81fe302188f4ee06ea9c54e"><div class="ttname"><a href="group__types_group.html#gabcc48b40a81fe302188f4ee06ea9c54e">natsOptions</a></div><div class="ttdeci">struct __natsOptions natsOptions</div><div class="ttdoc">Way to configure a natsConnection. </div><div class="ttdef"><b>Definition:</b> nats.h:128</div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga19e204d27a232e2d4334301fc002b2ed"><div class="ttname"><a href="group__conn_mgt_group.html#ga19e204d27a232e2d4334301fc002b2ed">natsConnection_Close</a></div><div class="ttdeci">NATS_EXTERN void natsConnection_Close(natsConnection *nc)</div><div class="ttdoc">Closes the connection. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_ga27d9175901997b8468997019746599b5"><div class="ttname"><a href="group__stan_sub_opts_group.html#ga27d9175901997b8468997019746599b5">stanSubOptions_StartAtTimeDelta</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_StartAtTimeDelta(stanSubOptions *opts, int64_t delta)</div><div class="ttdoc">Sets the desired start position based on the given delta. </div></div>
<div class="ttc" id="group__opts_group_html_ga3f7e760214417c7d87541ecb9ab5bea5"><div class="ttname"><a href="group__opts_group.html#ga3f7e760214417c7d87541ecb9ab5bea5">natsOptions_SetURL</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetURL(natsOptions *opts, const char *url)</div><div class="ttdoc">Sets the URL to connect to. </div></div>
<div class="ttc" id="group__library_group_html_ga5fab3b18c4fe3630254483575f6066f4"><div class="ttname"><a href="group__library_group.html#ga5fab3b18c4fe3630254483575f6066f4">nats_PrintLastErrorStack</a></div><div class="ttdeci">NATS_EXTERN void nats_PrintLastErrorStack(FILE *file)</div><div class="ttdoc">Prints the calling thread&amp;#39;s last known error stack into the file. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_ga19ba15c8001aa835b261eea3a309e6d3"><div class="ttname"><a href="group__stan_conn_opts_group.html#ga19ba15c8001aa835b261eea3a309e6d3">stanConnOptions_SetConnectionLostHandler</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnOptions_SetConnectionLostHandler(stanConnOptions *opts, stanConnectionLostHandler handler, void *closure)</div><div class="ttdoc">Sets the connection lost handler. </div></div>
<div class="ttc" id="group__opts_group_html_gabf060c92648b50c069f0abe7cbb06f1c"><div class="ttname"><a href="group__opts_group.html#gabf060c92648b50c069f0abe7cbb06f1c">natsOptions_UseGlobalMessageDelivery</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_UseGlobalMessageDelivery(natsOptions *opts, bool global)</div><div class="ttdoc">Switch on/off the use of a central message delivery thread pool. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gafb83c8d7970ba68be0e6c40c38cdfde4"><div class="ttname"><a href="group__conn_mgt_group.html#gafb83c8d7970ba68be0e6c40c38cdfde4">natsConnection_ConnectTo</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_ConnectTo(natsConnection **nc, const char *urls)</div><div class="ttdoc">Connects to a NATS Server using any of the URL from the given list. </div></div>
<div class="ttc" id="group__sub_group_html_ga12b60cdb3aca7329edebc480ae86bfab"><div class="ttname"><a href="group__sub_group.html#ga12b60cdb3aca7329edebc480ae86bfab">natsSubscription_GetStats</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_GetStats(natsSubscription *sub, int *pendingMsgs, int *pendingBytes, int *maxPendingMsgs, int *maxPendingBytes, int64_t *deliveredMsgs, int64_t *droppedMsgs)</div><div class="ttdoc">Get various statistics from this subscription. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_ga3c6d511fc1e1febcdf5344960de5a0b3"><div class="ttname"><a href="group__stan_conn_opts_group.html#ga3c6d511fc1e1febcdf5344960de5a0b3">stanConnOptions_SetURL</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnOptions_SetURL(stanConnOptions *opts, const char *url)</div><div class="ttdoc">Sets the URL to connect to. </div></div>
<div class="ttc" id="nats_8h_html_af798865ac824e5959987de0fe8d07383"><div class="ttname"><a href="nats_8h.html#af798865ac824e5959987de0fe8d07383">natsSock</a></div><div class="ttdeci">int natsSock</div><div class="ttdef"><b>Definition:</b> nats.h:50</div></div>
<div class="ttc" id="group__conn_sub_group_html_ga3c9fee2775130786ef62f1cbeb191a48"><div class="ttname"><a href="group__conn_sub_group.html#ga3c9fee2775130786ef62f1cbeb191a48">natsConnection_QueueSubscribe</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_QueueSubscribe(natsSubscription **sub, natsConnection *nc, const char *subject, const char *queueGroup, natsMsgHandler cb, void *cbClosure)</div><div class="ttdoc">Creates an asynchronous queue subscriber. </div></div>
<div class="ttc" id="group__types_group_html_ga13d64411878ba13a6ca39c915f2447c1"><div class="ttname"><a href="group__types_group.html#ga13d64411878ba13a6ca39c915f2447c1">stanConnOptions</a></div><div class="ttdeci">struct __stanConnOptions stanConnOptions</div><div class="ttdoc">Way to configure a stanConnection. </div><div class="ttdef"><b>Definition:</b> nats.h:162</div></div>
<div class="ttc" id="group__opts_group_html_ga17cd7fe41176cd98aca1184fa9352ad9"><div class="ttname"><a href="group__opts_group.html#ga17cd7fe41176cd98aca1184fa9352ad9">natsOptions_SetTimeout</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetTimeout(natsOptions *opts, int64_t timeout)</div><div class="ttdoc">Sets the (re)connect process timeout. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga68e7149f7ff1cc4989b3f795fa7e76d9"><div class="ttname"><a href="group__conn_mgt_group.html#ga68e7149f7ff1cc4989b3f795fa7e76d9">natsConnection_GetMaxPayload</a></div><div class="ttdeci">NATS_EXTERN int64_t natsConnection_GetMaxPayload(natsConnection *nc)</div><div class="ttdoc">Returns the maximum message payload. </div></div>
<div class="ttc" id="group__stan_msg_group_html_ga350ce955c7ff80a4ea771eb43fe6acaa"><div class="ttname"><a href="group__stan_msg_group.html#ga350ce955c7ff80a4ea771eb43fe6acaa">stanMsg_IsRedelivered</a></div><div class="ttdeci">NATS_EXTERN bool stanMsg_IsRedelivered(stanMsg *msg)</div><div class="ttdoc">Returns the message&amp;#39;s redelivered flag. </div></div>
<div class="ttc" id="group__callbacks_group_html_gab63dee7f7012ba11ae20b76dbc36f2d0"><div class="ttname"><a href="group__callbacks_group.html#gab63dee7f7012ba11ae20b76dbc36f2d0">natsEvLoop_Detach</a></div><div class="ttdeci">natsStatus(* natsEvLoop_Detach)(void *userData)</div><div class="ttdoc">Detach from the event loop. </div><div class="ttdef"><b>Definition:</b> nats.h:273</div></div>
<div class="ttc" id="group__callbacks_group_html_gacdef6aff3e47953f19e35857ab8e274c"><div class="ttname"><a href="group__callbacks_group.html#gacdef6aff3e47953f19e35857ab8e274c">natsConnectionHandler</a></div><div class="ttdeci">void(* natsConnectionHandler)(natsConnection *nc, void *closure)</div><div class="ttdoc">Callback used to notify the user of asynchronous connection events. </div><div class="ttdef"><b>Definition:</b> nats.h:208</div></div>
<div class="ttc" id="group__library_group_html_ga5fbbaa19b0290b654d2669a05bd512e8"><div class="ttname"><a href="group__library_group.html#ga5fbbaa19b0290b654d2669a05bd512e8">nats_GetVersionNumber</a></div><div class="ttdeci">NATS_EXTERN uint32_t nats_GetVersionNumber(void)</div><div class="ttdoc">Returns the Library&amp;#39;s version as a number. </div></div>
<div class="ttc" id="group__sub_group_html_ga0abc5d9afbc6b0c9c5adaf533904c968"><div class="ttname"><a href="group__sub_group.html#ga0abc5d9afbc6b0c9c5adaf533904c968">natsSubscription_GetMaxPending</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_GetMaxPending(natsSubscription *sub, int *msgs, int *bytes)</div><div class="ttdoc">Returns the maximum number of pending messages and bytes. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_gafbb4e6c74978c4e8f30f016c20cc2bdf"><div class="ttname"><a href="group__stan_sub_opts_group.html#gafbb4e6c74978c4e8f30f016c20cc2bdf">stanSubOptions_SetAckWait</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_SetAckWait(stanSubOptions *opts, int64_t wait)</div><div class="ttdoc">Sets the timeout for waiting for an ACK from the cluster&amp;#39;s point of view for delivered messages...</div></div>
<div class="ttc" id="group__opts_group_html_gab5baab507c974402ab0d8c5e8227ee65"><div class="ttname"><a href="group__opts_group.html#gab5baab507c974402ab0d8c5e8227ee65">natsOptions_SetDiscoveredServersCB</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetDiscoveredServersCB(natsOptions *opts, natsConnectionHandler discoveredServersCb, void *closure)</div><div class="ttdoc">Sets the callback to be invoked when new servers are discovered. </div></div>
<div class="ttc" id="group__sub_group_html_ga0408c9b6e4ad4078ac0267656ace222d"><div class="ttname"><a href="group__sub_group.html#ga0408c9b6e4ad4078ac0267656ace222d">natsSubscription_WaitForDrainCompletion</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_WaitForDrainCompletion(natsSubscription *sub, int64_t timeout)</div><div class="ttdoc">Blocks until the drain operation completes. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga48cee9ea1cdc9fc2770de2f9f0fd1ccf"><div class="ttname"><a href="group__conn_mgt_group.html#ga48cee9ea1cdc9fc2770de2f9f0fd1ccf">natsConnection_GetConnectedServerId</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_GetConnectedServerId(natsConnection *nc, char *buffer, size_t bufferSize)</div><div class="ttdoc">Gets the server Id. </div></div>
<div class="ttc" id="group__conn_sub_group_html_gacb2c83b58b7909715424cbc327fdd404"><div class="ttname"><a href="group__conn_sub_group.html#gacb2c83b58b7909715424cbc327fdd404">natsConnection_SubscribeTimeout</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_SubscribeTimeout(natsSubscription **sub, natsConnection *nc, const char *subject, int64_t timeout, natsMsgHandler cb, void *cbClosure)</div><div class="ttdoc">Creates an asynchronous subscription with a timeout. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_ga36f2ee441562dcf619d6e020b823fc96"><div class="ttname"><a href="group__stan_conn_opts_group.html#ga36f2ee441562dcf619d6e020b823fc96">stanConnOptions_SetPubAckWait</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnOptions_SetPubAckWait(stanConnOptions *opts, int64_t wait)</div><div class="ttdoc">Sets the timeout for waiting for an ACK for a published message. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_ga1b56877d0a6729e148c9c288e2b88e3f"><div class="ttname"><a href="group__stan_sub_opts_group.html#ga1b56877d0a6729e148c9c288e2b88e3f">stanSubOptions_Destroy</a></div><div class="ttdeci">NATS_EXTERN void stanSubOptions_Destroy(stanSubOptions *opts)</div><div class="ttdoc">Destroys a stanSubOptions object. </div></div>
<div class="ttc" id="group__opts_group_html_ga0290eac4665569c850468d9f00e246a0"><div class="ttname"><a href="group__opts_group.html#ga0290eac4665569c850468d9f00e246a0">natsOptions_SetNKey</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetNKey(natsOptions *opts, const char *pubKey, natsSignatureHandler sigCB, void *sigClosure)</div><div class="ttdoc">Sets the NKey public key and signature callback. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_gaafd7a553486eea3c9d309da0744a3608"><div class="ttname"><a href="group__stan_sub_opts_group.html#gaafd7a553486eea3c9d309da0744a3608">stanSubOptions_StartAtTime</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_StartAtTime(stanSubOptions *opts, int64_t time)</div><div class="ttdoc">Sets the desired start position based on the given time. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gad25c77be0873495412c90a73fe450708"><div class="ttname"><a href="group__conn_mgt_group.html#gad25c77be0873495412c90a73fe450708">natsConnection_GetDiscoveredServers</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_GetDiscoveredServers(natsConnection *nc, char ***servers, int *count)</div><div class="ttdoc">Returns the list of discovered server URLs. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga33fa209522e5e0226b5b7c7d720a3b98"><div class="ttname"><a href="group__conn_mgt_group.html#ga33fa209522e5e0226b5b7c7d720a3b98">natsConnection_Status</a></div><div class="ttdeci">NATS_EXTERN natsConnStatus natsConnection_Status(natsConnection *nc)</div><div class="ttdoc">Returns the current state of the connection. </div></div>
<div class="ttc" id="group__opts_group_html_gafb30794fc2ae74b9e0bd8fb609b901c8"><div class="ttname"><a href="group__opts_group.html#gafb30794fc2ae74b9e0bd8fb609b901c8">natsOptions_SetCATrustedCertificates</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetCATrustedCertificates(natsOptions *opts, const char *certificates)</div><div class="ttdoc">Sets the trusted CA certificates from memory. </div></div>
<div class="ttc" id="status_8h_html_a6d667c1f8dd289a7e0f39bf10e800b51"><div class="ttname"><a href="status_8h.html#a6d667c1f8dd289a7e0f39bf10e800b51">natsConnStatus</a></div><div class="ttdeci">natsConnStatus</div><div class="ttdoc">The connection state. </div><div class="ttdef"><b>Definition:</b> status.h:23</div></div>
<div class="ttc" id="group__opts_group_html_ga1a3e3abfd7ddd8aff247df8f332bbda3"><div class="ttname"><a href="group__opts_group.html#ga1a3e3abfd7ddd8aff247df8f332bbda3">natsOptions_SetIOBufSize</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetIOBufSize(natsOptions *opts, int ioBufSize)</div><div class="ttdoc">Sets the size of the internal read/write buffers. </div></div>
<div class="ttc" id="group__callbacks_group_html_gaea4c125ecfb43eaf43da20e8444c2aaa"><div class="ttname"><a href="group__callbacks_group.html#gaea4c125ecfb43eaf43da20e8444c2aaa">natsEvLoop_ReadAddRemove</a></div><div class="ttdeci">natsStatus(* natsEvLoop_ReadAddRemove)(void *userData, bool add)</div><div class="ttdoc">Read event needs to be added or removed. </div><div class="ttdef"><b>Definition:</b> nats.h:249</div></div>
<div class="ttc" id="group__types_group_html_gae4dae869fb614536f0f027c2e2660cc5"><div class="ttname"><a href="group__types_group.html#gae4dae869fb614536f0f027c2e2660cc5">stanSubscription</a></div><div class="ttdeci">struct __stanSubscription stanSubscription</div><div class="ttdoc">Interest on a given channel. </div><div class="ttdef"><b>Definition:</b> nats.h:150</div></div>
<div class="ttc" id="group__opts_group_html_gaa0d4b7ece8477cb9879f0dafff3456a5"><div class="ttname"><a href="group__opts_group.html#gaa0d4b7ece8477cb9879f0dafff3456a5">natsOptions_SetReconnectBufSize</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetReconnectBufSize(natsOptions *opts, int reconnectBufSize)</div><div class="ttdoc">Sets the size of the backing buffer used during reconnect. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_ga07105d1d00878bba19f47243b2c88402"><div class="ttname"><a href="group__stan_conn_opts_group.html#ga07105d1d00878bba19f47243b2c88402">stanConnOptions_SetDiscoveryPrefix</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnOptions_SetDiscoveryPrefix(stanConnOptions *opts, const char *prefix)</div><div class="ttdoc">Sets the subject prefix the library sends the connect request to. </div></div>
<div class="ttc" id="group__stats_group_html_gafa923df029168f4991b77ffdd9e24877"><div class="ttname"><a href="group__stats_group.html#gafa923df029168f4991b77ffdd9e24877">natsStatistics_Create</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsStatistics_Create(natsStatistics **newStats)</div><div class="ttdoc">Creates a natsStatistics object. </div></div>
<div class="ttc" id="group__opts_group_html_ga2730f4e16e318a2ef8de98dbf6ede807"><div class="ttname"><a href="group__opts_group.html#ga2730f4e16e318a2ef8de98dbf6ede807">natsOptions_SetReconnectWait</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetReconnectWait(natsOptions *opts, int64_t reconnectWait)</div><div class="ttdoc">Sets the time between reconnect attempts. </div></div>
<div class="ttc" id="group__opts_group_html_ga59b47f7b7a19085cf8eaada9bfe5606e"><div class="ttname"><a href="group__opts_group.html#ga59b47f7b7a19085cf8eaada9bfe5606e">natsOptions_SetUserCredentialsFromFiles</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetUserCredentialsFromFiles(natsOptions *opts, const char *userOrChainedFile, const char *seedFile)</div><div class="ttdoc">Sets the file(s) to use to fetch user JWT and see required to sign nonce. </div></div>
<div class="ttc" id="group__opts_group_html_ga5b99da7dd74aac3be962f323c3863d9e"><div class="ttname"><a href="group__opts_group.html#ga5b99da7dd74aac3be962f323c3863d9e">natsOptions_SetUserInfo</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetUserInfo(natsOptions *opts, const char *user, const char *password)</div><div class="ttdoc">Sets the user name/password to use when not specified in the URL. </div></div>
<div class="ttc" id="group__callbacks_group_html_gac34092f6c698374f86ad349302bdd55c"><div class="ttname"><a href="group__callbacks_group.html#gac34092f6c698374f86ad349302bdd55c">stanConnectionLostHandler</a></div><div class="ttdeci">void(* stanConnectionLostHandler)(stanConnection *sc, const char *errorTxt, void *closure)</div><div class="ttdoc">Callback used to notify the user of the permanent loss of the connection. </div><div class="ttdef"><b>Definition:</b> nats.h:374</div></div>
<div class="ttc" id="group__callbacks_group_html_gad5d6a685731b3bf635995b7375af4d18"><div class="ttname"><a href="group__callbacks_group.html#gad5d6a685731b3bf635995b7375af4d18">stanPubAckHandler</a></div><div class="ttdeci">void(* stanPubAckHandler)(const char *guid, const char *error, void *closure)</div><div class="ttdoc">Callback used to notify of an asynchronous publish result. </div><div class="ttdef"><b>Definition:</b> nats.h:354</div></div>
<div class="ttc" id="group__opts_group_html_ga60117450fc1f7b6f81bab455aeed7515"><div class="ttname"><a href="group__opts_group.html#ga60117450fc1f7b6f81bab455aeed7515">natsOptions_SetUserCredentialsCallbacks</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetUserCredentialsCallbacks(natsOptions *opts, natsUserJWTHandler ujwtCB, void *ujwtClosure, natsSignatureHandler sigCB, void *sigClosure)</div><div class="ttdoc">Sets the callbacks to fetch user JWT and sign server&amp;#39;s nonce. </div></div>
<div class="ttc" id="group__msg_group_html_ga9e9590018284939f43f60964283f33ae"><div class="ttname"><a href="group__msg_group.html#ga9e9590018284939f43f60964283f33ae">natsMsg_Destroy</a></div><div class="ttdeci">NATS_EXTERN void natsMsg_Destroy(natsMsg *msg)</div><div class="ttdoc">Destroys the message object. </div></div>
<div class="ttc" id="group__sub_group_html_ga68a7cea89e75c529a7dd3bb77303dda4"><div class="ttname"><a href="group__sub_group.html#ga68a7cea89e75c529a7dd3bb77303dda4">natsSubscription_SetPendingLimits</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_SetPendingLimits(natsSubscription *sub, int msgLimit, int bytesLimit)</div><div class="ttdoc">Sets the limit for pending messages and bytes. </div></div>
<div class="ttc" id="group__opts_group_html_ga26f166af20de98bec67bc6cc916f769e"><div class="ttname"><a href="group__opts_group.html#ga26f166af20de98bec67bc6cc916f769e">natsOptions_SetPedantic</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetPedantic(natsOptions *opts, bool pedantic)</div><div class="ttdoc">Sets the pedantic mode. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gaf4ee7262e35e44c40ad5dfe9240db76b"><div class="ttname"><a href="group__conn_mgt_group.html#gaf4ee7262e35e44c40ad5dfe9240db76b">natsConnection_GetServers</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_GetServers(natsConnection *nc, char ***servers, int *count)</div><div class="ttdoc">Returns the list of server URLs known to this connection. </div></div>
<div class="ttc" id="group__opts_group_html_gad58a5b9dabadeebda30e952ff7b39193"><div class="ttname"><a href="group__opts_group.html#gad58a5b9dabadeebda30e952ff7b39193">natsOptions_SetToken</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetToken(natsOptions *opts, const char *token)</div><div class="ttdoc">Sets the token to use when not specified in the URL. </div></div>
<div class="ttc" id="group__msg_group_html_ga6bc3cece03b182d2c94e671fd3444cbd"><div class="ttname"><a href="group__msg_group.html#ga6bc3cece03b182d2c94e671fd3444cbd">natsMsg_GetData</a></div><div class="ttdeci">NATS_EXTERN const char * natsMsg_GetData(natsMsg *msg)</div><div class="ttdoc">Returns the message payload. </div></div>
<div class="ttc" id="group__opts_group_html_ga5698f020e8eb3e7440eb073fe08ef62c"><div class="ttname"><a href="group__opts_group.html#ga5698f020e8eb3e7440eb073fe08ef62c">natsOptions_SetCiphers</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetCiphers(natsOptions *opts, const char *ciphers)</div><div class="ttdoc">Sets the list of available ciphers. </div></div>
<div class="ttc" id="group__opts_group_html_gaa1f09416d443fa7a6af6b695da563eba"><div class="ttname"><a href="group__opts_group.html#gaa1f09416d443fa7a6af6b695da563eba">natsOptions_SetSecure</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetSecure(natsOptions *opts, bool secure)</div><div class="ttdoc">Sets the secure mode. </div></div>
<div class="ttc" id="status_8h_html"><div class="ttname"><a href="status_8h.html">status.h</a></div></div>
<div class="ttc" id="group__stan_sub_group_html_ga3f6ce924f6a1830a55e30e9910aad4ba"><div class="ttname"><a href="group__stan_sub_group.html#ga3f6ce924f6a1830a55e30e9910aad4ba">stanSubscription_Destroy</a></div><div class="ttdeci">NATS_EXTERN void stanSubscription_Destroy(stanSubscription *sub)</div><div class="ttdoc">Destroys the subscription. </div></div>
<div class="ttc" id="group__opts_group_html_ga93d8068cd6fff53b7f8e1c403db45eb9"><div class="ttname"><a href="group__opts_group.html#ga93d8068cd6fff53b7f8e1c403db45eb9">natsOptions_Destroy</a></div><div class="ttdeci">NATS_EXTERN void natsOptions_Destroy(natsOptions *opts)</div><div class="ttdoc">Destroys a natsOptions object. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gaa89c06e30e19ff361125bfc9114d89a8"><div class="ttname"><a href="group__conn_mgt_group.html#gaa89c06e30e19ff361125bfc9114d89a8">natsConnection_ProcessReadEvent</a></div><div class="ttdeci">NATS_EXTERN void natsConnection_ProcessReadEvent(natsConnection *nc)</div><div class="ttdoc">Process a read event when using external event loop. </div></div>
<div class="ttc" id="group__callbacks_group_html_ga245eab0a01a485e40fba267f84ec037f"><div class="ttname"><a href="group__callbacks_group.html#ga245eab0a01a485e40fba267f84ec037f">natsEvLoop_Attach</a></div><div class="ttdeci">natsStatus(* natsEvLoop_Attach)(void **userData, void *loop, natsConnection *nc, natsSock socket)</div><div class="ttdoc">Attach this connection to the external event loop. </div><div class="ttdef"><b>Definition:</b> nats.h:234</div></div>
<div class="ttc" id="group__opts_group_html_ga61d4a0cf2fbf7d13cc910e5a00c575be"><div class="ttname"><a href="group__opts_group.html#ga61d4a0cf2fbf7d13cc910e5a00c575be">natsOptions_Create</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_Create(natsOptions **newOpts)</div><div class="ttdoc">Creates a natsOptions object. </div></div>
<div class="ttc" id="group__msg_group_html_ga3ed150076a029a5b6a38667d2359e57a"><div class="ttname"><a href="group__msg_group.html#ga3ed150076a029a5b6a38667d2359e57a">natsMsg_GetDataLength</a></div><div class="ttdeci">NATS_EXTERN int natsMsg_GetDataLength(natsMsg *msg)</div><div class="ttdoc">Returns the message length. </div></div>
<div class="ttc" id="group__opts_group_html_ga127ec7a8196b453947a7fa9a64096cbd"><div class="ttname"><a href="group__opts_group.html#ga127ec7a8196b453947a7fa9a64096cbd">natsOptions_SetErrorHandler</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetErrorHandler(natsOptions *opts, natsErrHandler errHandler, void *closure)</div><div class="ttdoc">Sets the error handler for asynchronous events. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_gae3fc9a4daa7f85367811a313857337b4"><div class="ttname"><a href="group__stan_conn_opts_group.html#gae3fc9a4daa7f85367811a313857337b4">stanConnOptions_SetNATSOptions</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnOptions_SetNATSOptions(stanConnOptions *opts, natsOptions *nOpts)</div><div class="ttdoc">Sets the NATS Options to use to create the connection. </div></div>
<div class="ttc" id="group__sub_group_html_ga50a95dd96e9b714201679a015d62832f"><div class="ttname"><a href="group__sub_group.html#ga50a95dd96e9b714201679a015d62832f">natsSubscription_Destroy</a></div><div class="ttdeci">NATS_EXTERN void natsSubscription_Destroy(natsSubscription *sub)</div><div class="ttdoc">Destroys the subscription. </div></div>
<div class="ttc" id="group__library_group_html_gaca24172e1b97ca01cee29ca437f5702e"><div class="ttname"><a href="group__library_group.html#gaca24172e1b97ca01cee29ca437f5702e">nats_GetLastErrorStack</a></div><div class="ttdeci">NATS_EXTERN natsStatus nats_GetLastErrorStack(char *buffer, size_t bufLen)</div><div class="ttdoc">Returns the calling thread&amp;#39;s last known error stack. </div></div>
<div class="ttc" id="group__sub_group_html_ga24f1636869e26661ce62c9c9f4d80823"><div class="ttname"><a href="group__sub_group.html#ga24f1636869e26661ce62c9c9f4d80823">natsSubscription_GetDropped</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_GetDropped(natsSubscription *sub, int64_t *msgs)</div><div class="ttdoc">Returns the number of dropped messages. </div></div>
<div class="ttc" id="group__sub_group_html_gafe31911d8372db401d33856465421710"><div class="ttname"><a href="group__sub_group.html#gafe31911d8372db401d33856465421710">natsSubscription_ClearMaxPending</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_ClearMaxPending(natsSubscription *sub)</div><div class="ttdoc">Clears the statistics regarding the maximum pending values. </div></div>
<div class="ttc" id="group__types_group_html_ga9e826493769d23086cfccefe95cdf64c"><div class="ttname"><a href="group__types_group.html#ga9e826493769d23086cfccefe95cdf64c">stanConnection</a></div><div class="ttdeci">struct __stanConnection stanConnection</div><div class="ttdoc">A connection to a NATS Streaming Server. </div><div class="ttdef"><b>Definition:</b> nats.h:144</div></div>
<div class="ttc" id="group__opts_group_html_ga7ca713c7532eff4d41a492e95b8822cf"><div class="ttname"><a href="group__opts_group.html#ga7ca713c7532eff4d41a492e95b8822cf">natsOptions_IPResolutionOrder</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_IPResolutionOrder(natsOptions *opts, int order)</div><div class="ttdoc">Dictates the order in which host name are resolved during connect. </div></div>
<div class="ttc" id="group__sub_group_html_ga09f285de2746a6e27fc66efd60bd3116"><div class="ttname"><a href="group__sub_group.html#ga09f285de2746a6e27fc66efd60bd3116">natsSubscription_AutoUnsubscribe</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_AutoUnsubscribe(natsSubscription *sub, int max)</div><div class="ttdoc">Auto-Unsubscribes. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gafda2f702276fb0ac301efac10df09495"><div class="ttname"><a href="group__conn_mgt_group.html#gafda2f702276fb0ac301efac10df09495">natsConnection_Destroy</a></div><div class="ttdeci">NATS_EXTERN void natsConnection_Destroy(natsConnection *nc)</div><div class="ttdoc">Destroys the connection object. </div></div>
<div class="ttc" id="group__library_group_html_gafc09930d38dcf3dcee144e8d3ffc225d"><div class="ttname"><a href="group__library_group.html#gafc09930d38dcf3dcee144e8d3ffc225d">nats_GetVersion</a></div><div class="ttdeci">NATS_EXTERN const char * nats_GetVersion(void)</div><div class="ttdoc">Returns the Library&amp;#39;s version. </div></div>
<div class="ttc" id="group__sub_group_html_ga6538a5d78dfb0f16514b94c8e74c11af"><div class="ttname"><a href="group__sub_group.html#ga6538a5d78dfb0f16514b94c8e74c11af">natsSubscription_NextMsg</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_NextMsg(natsMsg **nextMsg, natsSubscription *sub, int64_t timeout)</div><div class="ttdoc">Returns the next available message. </div></div>
<div class="ttc" id="group__library_group_html_gaa3c10ba3ae001595007ad0dc5dccc15e"><div class="ttname"><a href="group__library_group.html#gaa3c10ba3ae001595007ad0dc5dccc15e">nats_Now</a></div><div class="ttdeci">NATS_EXTERN int64_t nats_Now(void)</div><div class="ttdoc">Gives the current time in milliseconds. </div></div>
<div class="ttc" id="group__callbacks_group_html_gaf7456e37fa14f1834d9048d3789e9409"><div class="ttname"><a href="group__callbacks_group.html#gaf7456e37fa14f1834d9048d3789e9409">stanMsgHandler</a></div><div class="ttdeci">void(* stanMsgHandler)(stanConnection *sc, stanSubscription *sub, const char *channel, stanMsg *msg, void *closure)</div><div class="ttdoc">Callback used to deliver messages to the application. </div><div class="ttdef"><b>Definition:</b> nats.h:365</div></div>
<div class="ttc" id="group__stan_sub_group_html_ga3a1cca9fa3ea54fcf7a43fd1335a26d3"><div class="ttname"><a href="group__stan_sub_group.html#ga3a1cca9fa3ea54fcf7a43fd1335a26d3">stanSubscription_AckMsg</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubscription_AckMsg(stanSubscription *sub, stanMsg *msg)</div><div class="ttdoc">Acknowledge a message. </div></div>
<div class="ttc" id="group__stan_conn_mgt_group_html_ga4952a7f65a53fdb5ca1c26b1a1656f1d"><div class="ttname"><a href="group__stan_conn_mgt_group.html#ga4952a7f65a53fdb5ca1c26b1a1656f1d">stanConnection_Close</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnection_Close(stanConnection *sc)</div><div class="ttdoc">Closes the connection. </div></div>
<div class="ttc" id="group__library_group_html_gab21e94ce7a7d226611ea2c05914cf19d"><div class="ttname"><a href="group__library_group.html#gab21e94ce7a7d226611ea2c05914cf19d">nats_SetMessageDeliveryPoolSize</a></div><div class="ttdeci">NATS_EXTERN natsStatus nats_SetMessageDeliveryPoolSize(int max)</div><div class="ttdoc">Sets the maximum size of the global message delivery thread pool. </div></div>
<div class="ttc" id="group__stats_group_html_gabe5eaa39f967f8c95ed881c835545de1"><div class="ttname"><a href="group__stats_group.html#gabe5eaa39f967f8c95ed881c835545de1">natsStatistics_GetCounts</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsStatistics_GetCounts(natsStatistics *stats, uint64_t *inMsgs, uint64_t *inBytes, uint64_t *outMsgs, uint64_t *outBytes, uint64_t *reconnects)</div><div class="ttdoc">Extracts the various statistics values. </div></div>
<div class="ttc" id="group__opts_group_html_gab09491bad908dedcb323c780280733ff"><div class="ttname"><a href="group__opts_group.html#gab09491bad908dedcb323c780280733ff">natsOptions_SetEventLoop</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetEventLoop(natsOptions *opts, void *loop, natsEvLoop_Attach attachCb, natsEvLoop_ReadAddRemove readCb, natsEvLoop_WriteAddRemove writeCb, natsEvLoop_Detach detachCb)</div><div class="ttdoc">Sets the external event loop and associated callbacks. </div></div>
<div class="ttc" id="group__opts_group_html_ga36943e2ba53d05407cdabc4e7e96484b"><div class="ttname"><a href="group__opts_group.html#ga36943e2ba53d05407cdabc4e7e96484b">natsOptions_LoadCertificatesChain</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_LoadCertificatesChain(natsOptions *opts, const char *certsFileName, const char *keyFileName)</div><div class="ttdoc">Loads the certificate chain from a file, using the given key. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_gab09b81358e93199a4631eb06f1ec179f"><div class="ttname"><a href="group__stan_sub_opts_group.html#gab09b81358e93199a4631eb06f1ec179f">stanSubOptions_DeliverAllAvailable</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_DeliverAllAvailable(stanSubOptions *opts)</div><div class="ttdoc">The subscription should start with the first message in the channel. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_gab6cfa9cb6857ae10f096a94f5e244e63"><div class="ttname"><a href="group__conn_mgt_group.html#gab6cfa9cb6857ae10f096a94f5e244e63">natsConnection_GetLastError</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_GetLastError(natsConnection *nc, const char **lastError)</div><div class="ttdoc">Gets the last connection error. </div></div>
<div class="ttc" id="group__opts_group_html_ga44410242e73134e5bb51ef27904a9253"><div class="ttname"><a href="group__opts_group.html#ga44410242e73134e5bb51ef27904a9253">natsOptions_SetClosedCB</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetClosedCB(natsOptions *opts, natsConnectionHandler closedCb, void *closure)</div><div class="ttdoc">Sets the callback to be invoked when a connection to a server is permanently lost. </div></div>
<div class="ttc" id="group__opts_group_html_gae68fb615835364c0809555e8dc93f57e"><div class="ttname"><a href="group__opts_group.html#gae68fb615835364c0809555e8dc93f57e">natsOptions_SetPingInterval</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetPingInterval(natsOptions *opts, int64_t interval)</div><div class="ttdoc">Sets the ping interval. </div></div>
<div class="ttc" id="group__stan_conn_pub_group_html_ga24f3f7f709b15fe53e1edaeead08fc7d"><div class="ttname"><a href="group__stan_conn_pub_group.html#ga24f3f7f709b15fe53e1edaeead08fc7d">stanConnection_Publish</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnection_Publish(stanConnection *sc, const char *channel, const void *data, int dataLen)</div><div class="ttdoc">Publishes data on a channel. </div></div>
<div class="ttc" id="group__stan_sub_group_html_gacfa3a7b4fa333c84acfa7521fbbb5bcc"><div class="ttname"><a href="group__stan_sub_group.html#gacfa3a7b4fa333c84acfa7521fbbb5bcc">stanSubscription_Close</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubscription_Close(stanSubscription *sub)</div><div class="ttdoc">Closes the subscription. </div></div>
<div class="ttc" id="group__sub_group_html_ga5e6454bbc7a90b9694112d45bd8de903"><div class="ttname"><a href="group__sub_group.html#ga5e6454bbc7a90b9694112d45bd8de903">natsSubscription_IsValid</a></div><div class="ttdeci">NATS_EXTERN bool natsSubscription_IsValid(natsSubscription *sub)</div><div class="ttdoc">Checks the validity of the subscription. </div></div>
<div class="ttc" id="group__types_group_html_gadcab54026c4ed78f344ce03ce31bb61a"><div class="ttname"><a href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a></div><div class="ttdeci">struct __natsMsg natsMsg</div><div class="ttdoc">A structure holding a subject, optional reply and payload. </div><div class="ttdef"><b>Definition:</b> nats.h:122</div></div>
<div class="ttc" id="group__sub_group_html_ga26c9736289d326fb7d6df7e2a0df72ab"><div class="ttname"><a href="group__sub_group.html#ga26c9736289d326fb7d6df7e2a0df72ab">natsSubscription_Drain</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsSubscription_Drain(natsSubscription *sub)</div><div class="ttdoc">Drains the subscription with a default timeout. </div></div>
<div class="ttc" id="group__callbacks_group_html_gad1a5ac566893e13dc8c81ac0e9c87afe"><div class="ttname"><a href="group__callbacks_group.html#gad1a5ac566893e13dc8c81ac0e9c87afe">natsMsgHandler</a></div><div class="ttdeci">void(* natsMsgHandler)(natsConnection *nc, natsSubscription *sub, natsMsg *msg, void *closure)</div><div class="ttdoc">Callback used to deliver messages to the application. </div><div class="ttdef"><b>Definition:</b> nats.h:192</div></div>
<div class="ttc" id="group__stan_conn_mgt_group_html_gaea095eec18fdf04e06de16711f8b1a04"><div class="ttname"><a href="group__stan_conn_mgt_group.html#gaea095eec18fdf04e06de16711f8b1a04">stanConnection_Destroy</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnection_Destroy(stanConnection *sc)</div><div class="ttdoc">Destroys the connection object. </div></div>
<div class="ttc" id="nats_8h_html_a3bc1b3fe7f64083e60c7c3b93f205bad"><div class="ttname"><a href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad">NATS_EXTERN</a></div><div class="ttdeci">#define NATS_EXTERN</div><div class="ttdoc">Needed for shared library. </div><div class="ttdef"><b>Definition:</b> nats.h:49</div></div>
<div class="ttc" id="group__callbacks_group_html_ga7d93a74068ac6e5f4406d70b7c1f0094"><div class="ttname"><a href="group__callbacks_group.html#ga7d93a74068ac6e5f4406d70b7c1f0094">natsTokenHandler</a></div><div class="ttdeci">const char *(* natsTokenHandler)(void *closure)</div><div class="ttdoc">Callback used to build a token on connections and reconnections. </div><div class="ttdef"><b>Definition:</b> nats.h:343</div></div>
<div class="ttc" id="group__conn_pub_group_html_gac0b9f7759ecc39b8d77807b94254f9b4"><div class="ttname"><a href="group__conn_pub_group.html#gac0b9f7759ecc39b8d77807b94254f9b4">natsConnection_Publish</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_Publish(natsConnection *nc, const char *subj, const void *data, int dataLen)</div><div class="ttdoc">Publishes data on a subject. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga85915ef0c8b87993be1b076099d6a7c1"><div class="ttname"><a href="group__conn_mgt_group.html#ga85915ef0c8b87993be1b076099d6a7c1">natsConnection_FlushTimeout</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_FlushTimeout(natsConnection *nc, int64_t timeout)</div><div class="ttdoc">Flushes the connection with a given timeout. </div></div>
<div class="ttc" id="group__stan_sub_opts_group_html_gaa018bceba99ef3726157e87c6918ab14"><div class="ttname"><a href="group__stan_sub_opts_group.html#gaa018bceba99ef3726157e87c6918ab14">stanSubOptions_SetDurableName</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanSubOptions_SetDurableName(stanSubOptions *opts, const char *durableName)</div><div class="ttdoc">Sets the Durable Name for this subscription. </div></div>
<div class="ttc" id="group__opts_group_html_ga20946800d024b7089e73d63454d1c19f"><div class="ttname"><a href="group__opts_group.html#ga20946800d024b7089e73d63454d1c19f">natsOptions_SetRetryOnFailedConnect</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetRetryOnFailedConnect(natsOptions *opts, bool retry, natsConnectionHandler connectedCb, void *closure)</div><div class="ttdoc">Indicates if initial connect failure should be retried or not. </div></div>
<div class="ttc" id="group__opts_group_html_ga2cd6563694a439b3949a31fd81103099"><div class="ttname"><a href="group__opts_group.html#ga2cd6563694a439b3949a31fd81103099">natsOptions_LoadCATrustedCertificates</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_LoadCATrustedCertificates(natsOptions *opts, const char *fileName)</div><div class="ttdoc">Loads the trusted CA certificates from a file. </div></div>
<div class="ttc" id="group__opts_group_html_ga26a48c8529fffa5f5d1a61c030979980"><div class="ttname"><a href="group__opts_group.html#ga26a48c8529fffa5f5d1a61c030979980">natsOptions_SetReconnectedCB</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetReconnectedCB(natsOptions *opts, natsConnectionHandler reconnectedCb, void *closure)</div><div class="ttdoc">Sets the callback to be invoked when the connection has reconnected. </div></div>
<div class="ttc" id="group__types_group_html_gaf88dca0a18efb5c5e994d265a9f04aec"><div class="ttname"><a href="group__types_group.html#gaf88dca0a18efb5c5e994d265a9f04aec">natsConnection</a></div><div class="ttdeci">struct __natsConnection natsConnection</div><div class="ttdoc">A connection to a NATS Server. </div><div class="ttdef"><b>Definition:</b> nats.h:102</div></div>
<div class="ttc" id="group__stan_conn_mgt_group_html_ga2e56a93825e1214a5ab688860e2a8ce6"><div class="ttname"><a href="group__stan_conn_mgt_group.html#ga2e56a93825e1214a5ab688860e2a8ce6">stanConnection_ReleaseNATSConnection</a></div><div class="ttdeci">NATS_EXTERN void stanConnection_ReleaseNATSConnection(stanConnection *sc)</div><div class="ttdoc">Releases the NATS Connection. </div></div>
<div class="ttc" id="group__conn_mgt_group_html_ga59bdc4ad9fea2053f5d3841f6b83f88b"><div class="ttname"><a href="group__conn_mgt_group.html#ga59bdc4ad9fea2053f5d3841f6b83f88b">natsConnection_Drain</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_Drain(natsConnection *nc)</div><div class="ttdoc">Drains the connection with default timeout. </div></div>
<div class="ttc" id="group__opts_group_html_gaabf8763b931dcf389c83fd95d760a413"><div class="ttname"><a href="group__opts_group.html#gaabf8763b931dcf389c83fd95d760a413">natsOptions_SetNoRandomize</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetNoRandomize(natsOptions *opts, bool noRandomize)</div><div class="ttdoc">Indicate if the servers list should be randomized. </div></div>
<div class="ttc" id="group__conn_pub_group_html_gaf4b4a022f9c21fc269b87c000330c5a7"><div class="ttname"><a href="group__conn_pub_group.html#gaf4b4a022f9c21fc269b87c000330c5a7">natsConnection_Request</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_Request(natsMsg **replyMsg, natsConnection *nc, const char *subj, const void *data, int dataLen, int64_t timeout)</div><div class="ttdoc">Sends a request and waits for a reply. </div></div>
<div class="ttc" id="group__conn_pub_group_html_gaafca9a8294e81a5a9979e762931e56c5"><div class="ttname"><a href="group__conn_pub_group.html#gaafca9a8294e81a5a9979e762931e56c5">natsConnection_PublishRequestString</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsConnection_PublishRequestString(natsConnection *nc, const char *subj, const char *reply, const char *str)</div><div class="ttdoc">Publishes a string on a subject expecting replies on the given reply. </div></div>
<div class="ttc" id="group__opts_group_html_gae98f0f9034e93941767ab1ae6eec2c0c"><div class="ttname"><a href="group__opts_group.html#gae98f0f9034e93941767ab1ae6eec2c0c">natsOptions_SetCertificatesChain</a></div><div class="ttdeci">NATS_EXTERN natsStatus natsOptions_SetCertificatesChain(natsOptions *opts, const char *cert, const char *key)</div><div class="ttdoc">Sets the client certificate and key. </div></div>
<div class="ttc" id="group__msg_group_html_gad4597240ee8061b4dbec88576b5e1bed"><div class="ttname"><a href="group__msg_group.html#gad4597240ee8061b4dbec88576b5e1bed">natsMsg_GetSubject</a></div><div class="ttdeci">NATS_EXTERN const char * natsMsg_GetSubject(natsMsg *msg)</div><div class="ttdoc">Returns the subject set in this message. </div></div>
<div class="ttc" id="group__stan_conn_opts_group_html_ga29eee1be7eff749aeac3bab60d1b0405"><div class="ttname"><a href="group__stan_conn_opts_group.html#ga29eee1be7eff749aeac3bab60d1b0405">stanConnOptions_SetMaxPubAcksInflight</a></div><div class="ttdeci">NATS_EXTERN natsStatus stanConnOptions_SetMaxPubAcksInflight(stanConnOptions *opts, int maxPubAcksInflight, float percentage)</div><div class="ttdoc">Sets the maximum number of published messages without outstanding ACKs from the server. </div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.10-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="nats_8h.html">nats.h</a></li>
    <li class="footer">NATS.IO Supported By Synadia Communications Inc.
    <a href="http://www.nats.io">
    </a></li>
  </ul>
</div>
</body>
</html>
